1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-02-01 03:39:16 +00:00

fixed a crash in the Ivory Tower

This commit is contained in:
Zeno Rogue 2019-01-28 21:47:57 +01:00
parent 144d5335a6
commit 40aea82374

View File

@ -182,8 +182,7 @@ namespace yendor {
if(i > BARLEV-6) {
setdist(nyi.path[i+7-BARLEV], 7, nyi.path[i+6-BARLEV]);
if(challenge && !euclid) {
if(ycw.at->land == laIvoryTower) continue;
if(challenge && !euclid && ycw.at->land != laIvoryTower) {
eLand ycl = changeland(i, ycw.at->land);
if(ycl) {
if(weirdhyperbolic) {