- debugging out of synch (make bailout logic optional)
This commit is contained in:
parent
e5a62f57ef
commit
14c5b87da4
|
@ -185,7 +185,7 @@ TravelState PathFinder::findPath(Unit *unit, const Vec2i &finalPos, bool *wasStu
|
||||||
|
|
||||||
//printf("#1 BAILOUT test unitid [%d]\n",unit->getId());
|
//printf("#1 BAILOUT test unitid [%d]\n",unit->getId());
|
||||||
|
|
||||||
bool useBailoutRadius = true;
|
bool useBailoutRadius = Config::getInstance().getBool("EnableBailoutPathfinding","true");
|
||||||
/*
|
/*
|
||||||
Command *command= unit->getCurrCommand();
|
Command *command= unit->getCurrCommand();
|
||||||
if(command != NULL) {
|
if(command != NULL) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user