mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
empty emeralds
This commit is contained in:
parent
456ef9cfcf
commit
afa50f744e
@ -294,7 +294,9 @@ void giantLandSwitch(cell *c, int d, cell *from) {
|
|||||||
if(d==8) {
|
if(d==8) {
|
||||||
if(randomPatternsMode)
|
if(randomPatternsMode)
|
||||||
c->wall = RANDPAT3(0) ? waCavewall : waCavefloor;
|
c->wall = RANDPAT3(0) ? waCavewall : waCavefloor;
|
||||||
else if(torus) ;
|
else if(torus) {
|
||||||
|
c->wall = waCavefloor;
|
||||||
|
}
|
||||||
else if(euclid) {
|
else if(euclid) {
|
||||||
eucoord x, y;
|
eucoord x, y;
|
||||||
decodeMaster(c->master, x, y);
|
decodeMaster(c->master, x, y);
|
||||||
@ -311,9 +313,12 @@ void giantLandSwitch(cell *c, int d, cell *from) {
|
|||||||
c->wall = waCavewall;
|
c->wall = waCavewall;
|
||||||
else c->wall = waCavefloor;
|
else c->wall = waCavefloor;
|
||||||
}
|
}
|
||||||
|
else if(weirdhyperbolic && S7 != 8)
|
||||||
|
c->wall = waCavefloor;
|
||||||
else {
|
else {
|
||||||
int v = emeraldval(c);
|
int v = emeraldval(c);
|
||||||
if(v == 0) c->wall = waStone;
|
if(v == 0)
|
||||||
|
c->wall = waStone;
|
||||||
else if((v&3) >= 2)
|
else if((v&3) >= 2)
|
||||||
c->wall = waCavewall;
|
c->wall = waCavewall;
|
||||||
else c->wall = waCavefloor;
|
else c->wall = waCavefloor;
|
||||||
|
Loading…
Reference in New Issue
Block a user