From d16be3ba071ee8ea7f79205f931526043bb217d3 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Wed, 2 Jun 2010 20:06:49 +0000 Subject: [PATCH] fixed weird bug where compiler should have told me of the conversion issue --- source/glest_game/type_instances/command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/glest_game/type_instances/command.cpp b/source/glest_game/type_instances/command.cpp index a0033c789..affe8a6b7 100644 --- a/source/glest_game/type_instances/command.cpp +++ b/source/glest_game/type_instances/command.cpp @@ -81,7 +81,7 @@ std::string Command::toString() const { if(unitRef.getUnitId() >= 0) { //SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__, __LINE__); - result += ", unitRef.getUnit() id = " + unitRef.getUnitId(); + result += ", unitRef.getUnit() id = " + intToStr(unitRef.getUnitId()); } //SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__, __LINE__);