From 010fc018d0a3e936ffc805a104ce2a32d7d4148e Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Mon, 12 May 2025 10:47:23 -0500 Subject: [PATCH] don't show charges if max is 1 --- src/game/boe.text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/boe.text.cpp b/src/game/boe.text.cpp index 1b9dfdb3..0eeb1599 100644 --- a/src/game/boe.text.cpp +++ b/src/game/boe.text.cpp @@ -343,7 +343,7 @@ void put_item_screen(eItemWinMode screen_num) { sout << item.name << " "; // Charges: - bool show_charges = item.max_charges > 0; + bool show_charges = item.max_charges > 1; // Show charges for unidentified ammunition and lockpicks, but not other unidentified items if(item.missile < 0 && item.ability != eItemAbil::LOCKPICKS) show_charges &= item.ident;