mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-24 06:50:09 +00:00
expansion:: dfStart returns 0 if not mod allowed
This commit is contained in:
parent
90669b6bb8
commit
acc90b80b7
@ -444,6 +444,7 @@ EX int curr_dist(cell *c) {
|
||||
case dfPlayer:
|
||||
return c->cpdist < INFD ? c->cpdist : celldistance(cwt.at, c);
|
||||
case dfStart:
|
||||
if(!mod_allowed()) return 0;
|
||||
return celldist(c);
|
||||
case dfWorld:
|
||||
if(!mod_allowed() && !among(c->land, laOcean, laIvoryTower, laEndorian, laDungeon, laTemple, laWhirlpool, laCanvas))
|
||||
|
Loading…
x
Reference in New Issue
Block a user