Strictify item variety enum
This commit is contained in:
@@ -403,7 +403,7 @@ void draw_items(location where){
|
||||
if(supressing_some_spaces && (where != ok_space[0]) && (where != ok_space[1]) && (where != ok_space[2]) && (where != ok_space[3]))
|
||||
return;
|
||||
for (int i = 0; i < NUM_TOWN_ITEMS; i++) {
|
||||
if(univ.town.items[i].variety != ITEM_TYPE_NO_ITEM && univ.town.items[i].item_loc == where) {
|
||||
if(univ.town.items[i].variety != eItemType::NO_ITEM && univ.town.items[i].item_loc == where) {
|
||||
if(univ.town.items[i].contained) continue;
|
||||
if(party_can_see(where) >= 6) continue;
|
||||
if(univ.town.items[i].graphic_num >= 1000){
|
||||
|
Reference in New Issue
Block a user