1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-16 06:37:38 +00:00

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