Strictify skill enum

This commit is contained in:
2014-12-14 02:51:01 -05:00
parent 1200ff47d4
commit a198c232bb
23 changed files with 557 additions and 466 deletions

View File

@@ -330,7 +330,7 @@ void put_item_screen(short screen_num,short suppress_buttons)
else { /// Don't place # of charges when Sell button up and space tight
sout << univ.party[pc].items[i_num].full_name << ' ';
// 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
if(univ.party[pc].items[i_num].charges > 0 && univ.party[pc].items[i_num].type != eSkill::BASHING_WEAPONS
&& (stat_screen_mode <= 1))
sout << '(' << int(univ.party[pc].items[i_num].charges) << ')';
}