mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-24 05:17:17 +00:00
fixed S7 and mod S7 in RRV generation
This commit is contained in:
parent
52196be04e
commit
78490e75a9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user