1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-06-07 13:22:11 +00:00

fixed single-land Camelot

This commit is contained in:
Zeno Rogue
2021-04-23 19:14:37 +02:00
parent 0f27c86614
commit f3b359940e
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -515,9 +515,9 @@ EX int celldistAlt(cell *c) {
return d;
}
#if CAP_BT
if(bt::in() || sn::in()) return c->master->distance + (specialland == laCamelot && !tactic::on? 30 : 0);
if(bt::in() || sn::in()) return c->master->distance + (specialland == laCamelot && !ls::single() ? 30 : 0);
#endif
if(nil) return c->master->zebraval + abs(c->master->emeraldval) + (specialland == laCamelot && !tactic::on? 30 : 0);;
if(nil) return c->master->zebraval + abs(c->master->emeraldval) + (specialland == laCamelot && !ls::single() ? 30 : 0);;
#if CAP_CRYSTAL
if(cryst)
return crystal::dist_alt(c);