diff --git a/source/glest_game/world/unit_updater.cpp b/source/glest_game/world/unit_updater.cpp index be0f310f..47d3f6e8 100644 --- a/source/glest_game/world/unit_updater.cpp +++ b/source/glest_game/world/unit_updater.cpp @@ -267,15 +267,15 @@ void UnitUpdater::updateUnitCommand(Unit *unit, int frameIndex) { if(unit->anyCommand() == false && unit->isOperative()) { SystemFlags::OutputDebug(SystemFlags::debugUnitCommands,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__); - const SkillType *currSkill= unit->getCurrSkill(); - if(currSkill == NULL || currSkill->getClass() != scStop) { + //const SkillType *currSkill= unit->getCurrSkill(); + //if(currSkill == NULL || currSkill->getClass() != scStop) { unit->setCurrSkill(scStop); if(unit->getType()->hasCommandClass(ccStop)) { //SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__); unit->giveCommand(new Command(unit->getType()->getFirstCtOfClass(ccStop))); } - } + //} } } if(chrono.getMillis() > 0) SystemFlags::OutputDebug(SystemFlags::debugPerformance,"In [%s::%s] Line: %d took msecs: %lld --------------------------- [END OF METHOD] ---------------------------\n",__FILE__,__FUNCTION__,__LINE__,chrono.getMillis());