mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
First batch of AI fixes:
- wiped not actually used set/get selection - replaced isReachable with VCAI::isAccessible
This commit is contained in:
@@ -405,7 +405,6 @@ float FuzzyHelper::evaluate (Goals::VisitTile & g)
|
||||
return 0;
|
||||
|
||||
//assert(cb->isInTheMap(g.tile));
|
||||
ai->setSelection (g.hero.h);
|
||||
float turns = 0;
|
||||
float distance = cb->getMovementCost(g.hero.h, g.tile);
|
||||
if (!distance) //we stand on that tile
|
||||
|
Reference in New Issue
Block a user