fix missile 0 charges
This commit is contained in:
@@ -345,7 +345,7 @@ void put_item_screen(eItemWinMode screen_num) {
|
||||
// Charges:
|
||||
bool show_charges = item.max_charges > 0;
|
||||
// Show charges for unidentified ammunition and lockpicks, but not other unidentified items
|
||||
if(item.missile <= 0 && item.ability != eItemAbil::LOCKPICKS)
|
||||
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;
|
||||
|
Reference in New Issue
Block a user