asonov:: bounded_celldistance special case is for gArnoldCat, not asonov::in()

This commit is contained in:
Zeno Rogue 2021-04-07 14:44:24 +02:00
parent 298e1535c8
commit 57b5d03695
1 changed files with 1 additions and 1 deletions

View File

@ -1089,7 +1089,7 @@ EX cell *random_in_distance(cell *c, int d) {
EX int bounded_celldistance(cell *c1, cell *c2) {
int limit = 6000;
#if CAP_SOLV
if(asonov::in()) {
if(geometry == gArnoldCat) {
c2 = asonov::get_at(asonov::get_coord(c2->master) - asonov::get_coord(c1->master))->c7;
c1 = currentmap->gamestart();
limit = 100000000;