fixed a bug with recall+safety in Shmup

This commit is contained in:
Zeno Rogue 2019-07-30 13:04:31 +02:00
parent a95eb81b33
commit 148db6b84c
1 changed files with 5 additions and 5 deletions

View File

@ -3535,6 +3535,11 @@ void turn(int delta) {
active.push_back(m);
additional.clear();
if(delayed_safety) {
activateSafety(pc[0]->base->land);
delayed_safety = false;
}
// deactivate all monsters
for(monster *m: active)
if(m->dead && m->type != moPlayer) {
@ -3549,11 +3554,6 @@ void turn(int delta) {
}
active.clear();
if(delayed_safety) {
activateSafety(pc[0]->base->land);
delayed_safety = false;
}
}
void recall() {