1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +00:00

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

View File

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