1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-07 15:51:22 +00:00

fixed AdS tour

This commit is contained in:
Zeno Rogue
2026-05-02 16:01:14 +02:00
parent 25a08a5b69
commit 46b0ff0f0c

View File

@@ -43,7 +43,15 @@ void straight_line_viz_rocks(presmode mode) {
items[itOrbLife] = 3; if(shmup::pc[0]) shmup::pc[0]->dead = false;
}
if(mode == pmKey) {
for(auto [c, mo]: shmup::monstersAt) if(mo->type == moAsteroid) mo->dead = true;
for(auto c: dcal) {
auto p = &c->contents;
while(*p) {
if(shmup::monster *m = (*p)->as_monster()) {
if(m->type == moAsteroid) m->dead = true;
}
p = &((*p)->next);
}
}
auto pc = shmup::pc[0];
for(int r: {1, 2, 3})
for(int i=0; i<36*r; i++) {