special[hack]: called the town's exit when leaving the town (instead of outdoor)
This commit is contained in:
@@ -1922,6 +1922,10 @@ void queue_special(eSpecCtx mode, eSpecCtxType which_type, spec_num_t spec, loca
|
|||||||
queued_special.type = which_type;
|
queued_special.type = which_type;
|
||||||
queued_special.mode = mode;
|
queued_special.mode = mode;
|
||||||
queued_special.trigger_time = univ.party.age;
|
queued_special.trigger_time = univ.party.age;
|
||||||
|
// FIXME: I forced calling the leave special just to avoid calling them outside, ie. with town_num=200
|
||||||
|
if (mode==eSpecCtx::LEAVE_TOWN)
|
||||||
|
run_special(queued_special, nullptr, nullptr, nullptr);
|
||||||
|
else
|
||||||
special_queue.push(queued_special);
|
special_queue.push(queued_special);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user