From b5d4867316e2e7ca732b71ebac7f99e62e68d69c Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Fri, 28 Oct 2011 22:28:24 +0000 Subject: [PATCH] added one too many invalid position messages to console --- source/glest_game/world/unit_updater.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/glest_game/world/unit_updater.cpp b/source/glest_game/world/unit_updater.cpp index f4ea2a0d..57f1d14d 100644 --- a/source/glest_game/world/unit_updater.cpp +++ b/source/glest_game/world/unit_updater.cpp @@ -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());