mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-22 23:17:04 +00:00
fixed kraken_pseudohept returning negated values
This commit is contained in:
parent
80e0ad5cd0
commit
64a77827f6
@ -1441,7 +1441,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
|
||||
case laKraken:
|
||||
if(d == 9) c->wall = waSea;
|
||||
|
||||
if(d == 8 && c->land == laKraken && pseudohept(c) && hrand(1000) <= 2) {
|
||||
if(d == 8 && c->land == laKraken && kraken_pseudohept(c) && hrand(1000) <= 2) {
|
||||
c->wall = waNone;
|
||||
forCellEx(c2, c) c2->wall = waNone;
|
||||
}
|
||||
|
@ -1233,11 +1233,11 @@ bool kraken_pseudohept(cell *c) {
|
||||
else if(IRREGULAR)
|
||||
return c->type != 6;
|
||||
else if(archimedean && PURE)
|
||||
return c->type == isize(arcm::current.triangles[0]);
|
||||
return c->type != isize(arcm::current.triangles[0]);
|
||||
else if(archimedean && BITRUNCATED)
|
||||
return pseudohept(c);
|
||||
else if(archimedean && DUAL)
|
||||
return true;
|
||||
return false;
|
||||
else if(!euclid && S3 == 3 && !(S7&1) && gp_threecolor() == 1)
|
||||
return ishept(c);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user