1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-24 22:23:18 +00:00

fixed S7 and mod S7 in RRV generation

This commit is contained in:
Zeno Rogue 2018-01-13 01:12:09 +01:00
parent 52196be04e
commit 78490e75a9

View File

@ -1490,11 +1490,11 @@ void giantLandSwitch(cell *c, int d, cell *from) {
}
else if(ishept(c) && hrand(100) < (doCross?20:8) && !c->monst) {
buildRedWall(c, 80);
int i = hrand(7);
int i = hrand(S7);
buildRedWall(createMovR(c, i), 33);
if(hrand(2) == 0)
buildRedWall(createMovR(createMovR(c, i), c->spn(i)+(hrand(2)?2:4)), 20);
i += 3 + hrand(2);
i = (i + 3 + hrand(2)) % S7;
if(hrand(6) < 4)
buildRedWall(createMovR(c, i), 33);
if(hrand(2) == 0)