From 40aea823749815541f9c24a254ce49468cdc7860 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 28 Jan 2019 21:47:57 +0100 Subject: [PATCH] fixed a crash in the Ivory Tower --- yendor.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yendor.cpp b/yendor.cpp index 2904d6bb..a60636fa 100644 --- a/yendor.cpp +++ b/yendor.cpp @@ -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) {