mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-05 00:55:09 -05:00
always display XX/YY when in ammo/capacity mode
This commit is contained in:
parent
e11ca62ee1
commit
47c7d3f061
@ -375,14 +375,13 @@ void DrawItemCount(ItemTrackerItem item) {
|
||||
} else {
|
||||
currentColor = IM_COL_GREEN;
|
||||
}
|
||||
} else {
|
||||
if (shouldDisplayMax) {
|
||||
currentString += "/";
|
||||
maxString = std::to_string(currentAndMax.currentCapacity);
|
||||
}
|
||||
if (currentAndMax.currentAmmo <= 0) {
|
||||
currentColor = IM_COL_GRAY;
|
||||
}
|
||||
}
|
||||
if (shouldDisplayMax) {
|
||||
currentString += "/";
|
||||
maxString = std::to_string(currentAndMax.currentCapacity);
|
||||
}
|
||||
if (currentAndMax.currentAmmo <= 0) {
|
||||
currentColor = IM_COL_GRAY;
|
||||
}
|
||||
} else {
|
||||
currentString = std::to_string(currentAndMax.currentCapacity);
|
||||
|
Loading…
Reference in New Issue
Block a user