unidentified lockpicks should also show quantity

This commit is contained in:
2025-05-02 17:11:08 -05:00
parent 96beb0d4b1
commit 85cef2be52

View File

@@ -332,8 +332,8 @@ void put_item_screen(eItemWinMode screen_num) {
// Charges:
bool show_charges = item.max_charges > 0;
// Show charges for unidentified ammunition, but not other items
if(item.missile <= 0)
// Show charges for unidentified ammunition and lockpicks, but not other unidentified items
if(item.missile <= 0 && item.ability != eItemAbil::LOCKPICKS)
show_charges &= item.ident;
// Don't show charges if it just shows a dialog
show_charges &= item.ability != eItemAbil::MESSAGE;