From 109efec4ffc5edb8c766510620e67c5c88953451 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 21 Apr 2020 23:37:38 +0200 Subject: [PATCH] expansion:: dfWorld returns celldistAlt in canvas --- expansion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expansion.cpp b/expansion.cpp index 6dc3a18c..b18e0eae 100644 --- a/expansion.cpp +++ b/expansion.cpp @@ -376,7 +376,7 @@ EX int curr_dist(cell *c) { case dfWorld: if(!mod_allowed() && !among(c->land, laOcean, laIvoryTower, laEndorian, laDungeon, laTemple, laWhirlpool, laCanvas)) return 0; - if(isCyclic(c->land) && (eubinary || c->master->alt)) return celldistAlt(c); + if((isCyclic(c->land) || c->land == laCanvas) && (eubinary || c->master->alt)) return celldistAlt(c); return inmirror(c) ? (c->landparam & 255) : c->landparam; } return 0;