added one too many invalid position messages to console

This commit is contained in:
Mark Vejvoda 2011-10-28 22:28:24 +00:00
parent 77911f2144
commit b5d4867316
1 changed files with 1 additions and 1 deletions

View File

@ -1690,7 +1690,7 @@ void UnitUpdater::updateRepair(Unit *unit, int frameIndex) {
else {
if(SystemFlags::getSystemSettingType(SystemFlags::debugUnitCommands).enabled) SystemFlags::OutputDebug(SystemFlags::debugUnitCommands,"In [%s::%s Line: %d] about to call [scStop]\n",__FILE__,__FUNCTION__,__LINE__);
console->addStdMessage("InvalidPosition");
//console->addStdMessage("InvalidPosition");
unit->setCurrSkill(scStop);
unit->finishCommand();
if(SystemFlags::getSystemSettingType(SystemFlags::debugPerformance).enabled && chrono.getMillis() > 0) SystemFlags::OutputDebug(SystemFlags::debugPerformance,"In [%s::%s] Line: %d took msecs: %lld\n",__FILE__,__FUNCTION__,__LINE__,chrono.getMillis());