Strictify item weapon type enum
This commit is contained in:
@@ -341,7 +341,8 @@ void put_item_screen(short screen_num,short suppress_buttons)
|
||||
sout << univ.party[pc].items[i_num].name << " ";
|
||||
else { /// Don't place # of charges when Sell button up and space tight
|
||||
sout << univ.party[pc].items[i_num].full_name << ' ';
|
||||
if ((univ.party[pc].items[i_num].charges > 0) && (univ.party[pc].items[i_num].type != 2)
|
||||
// TODO: Why are bashing weapons excluded from this?
|
||||
if(univ.party[pc].items[i_num].charges > 0 && univ.party[pc].items[i_num].type != eWeapType::BASHING
|
||||
&& (stat_screen_mode <= 1))
|
||||
sout << '(' << int(univ.party[pc].items[i_num].charges) << ')';
|
||||
}
|
||||
|
Reference in New Issue
Block a user