Make monster/item lists in scenario town record dynamic; move monsters to town superclass
This commit is contained in:
@@ -188,7 +188,7 @@ void draw_monsters() {
|
||||
}
|
||||
}
|
||||
if(is_town() || is_combat()) {
|
||||
for(i = 0; i < univ.town->max_monst(); i++)
|
||||
for(i = 0; i < univ.town.monst.size(); i++)
|
||||
if(univ.town.monst[i].active != 0 && !univ.town.monst[i].invisible)
|
||||
if(point_onscreen(center,univ.town.monst[i].cur_loc) && party_can_see_monst(i)) {
|
||||
check_if_monst_seen(univ.town.monst[i].number, univ.town.monst[i].cur_loc);
|
||||
|
Reference in New Issue
Block a user