From 47c7d3f061ce08700fd3d4f2c72463473b695053 Mon Sep 17 00:00:00 2001 From: PurpleHato Date: Sun, 4 Sep 2022 20:39:56 +0200 Subject: [PATCH] always display XX/YY when in ammo/capacity mode --- .../randomizer/randomizer_item_tracker.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/soh/soh/Enhancements/randomizer/randomizer_item_tracker.cpp b/soh/soh/Enhancements/randomizer/randomizer_item_tracker.cpp index 3a1dc5962..d6cfc8a37 100644 --- a/soh/soh/Enhancements/randomizer/randomizer_item_tracker.cpp +++ b/soh/soh/Enhancements/randomizer/randomizer_item_tracker.cpp @@ -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);