From 39f81afe5c5e436995d6ad1cd4bec269c87ae18b Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Wed, 20 Feb 2013 19:21:55 +0000 Subject: [PATCH] - allow threaded calculation of unit movement for attacking units (was disabled for nig's bug but this was not the cause so re-enable) --- source/glest_game/world/unit_updater.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/glest_game/world/unit_updater.cpp b/source/glest_game/world/unit_updater.cpp index b5e8c97df..66507af49 100644 --- a/source/glest_game/world/unit_updater.cpp +++ b/source/glest_game/world/unit_updater.cpp @@ -527,8 +527,8 @@ void UnitUpdater::updateAttack(Unit *unit, int frameIndex) { TravelState tsValue = tsImpossible; - if(frameIndex < 0) { - //{ + //if(frameIndex < 0) { + { //printf("In [%s::%s Line: %d] START pathfind for attacker [%d - %s]\n",__FILE__,__FUNCTION__,__LINE__,unit->getId(), unit->getType()->getName().c_str()); //fflush(stdout); switch(this->game->getGameSettings()->getPathFinderType()) {