1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-20 00:17:39 +00:00

Canvas now includes celldistAlt

This commit is contained in:
Zeno Rogue
2018-09-27 22:11:37 +02:00
parent 3904b9d11e
commit 5e8a42629c
2 changed files with 7 additions and 1 deletions

View File

@@ -399,7 +399,7 @@ int curr_dist(cell *c) {
case dfStart:
return celldist(c);
case dfWorld:
if(!mod_allowed() && !among(c->land, laOcean, laIvoryTower, laEndorian, laDungeon, laTemple, laWhirlpool))
if(!mod_allowed() && !among(c->land, laOcean, laIvoryTower, laEndorian, laDungeon, laTemple, laWhirlpool, laCanvas))
return 0;
if(c->master->alt) return celldistAlt(c);
return inmirror(c) ? (c->landparam & 255) : c->landparam;