mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-23 14:30:08 +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);
|
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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user