fixed kraken_pseudohept returning negated values

This commit is contained in:
Zeno Rogue 2018-08-30 16:08:28 +02:00
parent 80e0ad5cd0
commit 64a77827f6
2 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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