Several little fixes
- Fix take_gold function adding to party gold instead of subtracting - Fix wandering NPCs not appearing if the town was stored in a save slot - If IF_FIELDS node called while outdoors, skip to jumpto - If IF_STATISTIC called on selected target with whole party selected, default to cumulative check
This commit is contained in:
@@ -207,7 +207,7 @@ void start_town_mode(short which_town, short entry_dir) {
|
||||
switch(univ.town.monst[j].time_flag){
|
||||
case eMonstTime::ALWAYS: break; // Nothing to do.
|
||||
case eMonstTime::SOMETIMES_A: case eMonstTime::SOMETIMES_B: case eMonstTime::SOMETIMES_C:
|
||||
if((calc_day() % 3) + 3 != int(univ.town.monst[i].time_flag))
|
||||
if((calc_day() % 3) + 3 != int(univ.town.monst[j].time_flag))
|
||||
univ.town.monst[j].active = 0;
|
||||
else {
|
||||
univ.town.monst[j].active = 1;
|
||||
|
Reference in New Issue
Block a user