1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-18 15:37:40 +00:00

Implemented the shmup versions of Ruined City and Jelly Kingdom.

This commit is contained in:
Zeno Rogue
2018-02-12 12:48:31 +01:00
parent 7218d95ce4
commit be06bd31ce
8 changed files with 81 additions and 23 deletions

View File

@@ -1938,7 +1938,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
forCellEx(c2, c) if(out_ruin(c2))
c->wall = waRuinWall;
}
if(hrand(40000) < kf && !c->monst && !c->wall) {
if(hrand(40000) < kf && !c->monst && !c->wall && !shmup::on) {
cell *c1 = c;
cell *c2 = createMov(c1, hrand(c1->type));
if(c2->monst || c2->wall) return;