mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-22 14:00:13 +00:00
fixed a bug with recall+safety in Shmup
This commit is contained in:
parent
a95eb81b33
commit
148db6b84c
10
shmup.cpp
10
shmup.cpp
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user