From 57b5d03695b3736980d73f157e37ebd991ac7fe9 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 7 Apr 2021 14:44:24 +0200 Subject: [PATCH] asonov:: bounded_celldistance special case is for gArnoldCat, not asonov::in() --- cell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cell.cpp b/cell.cpp index a7ad5244..c245006f 100644 --- a/cell.cpp +++ b/cell.cpp @@ -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;