Explorar o código

Added CBattleConsole tracing

AlexVinS %!s(int64=10) %!d(string=hai) anos
pai
achega
cbd8900c0b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      client/battle/CBattleInterfaceClasses.cpp

+ 1 - 0
client/battle/CBattleInterfaceClasses.cpp

@@ -69,6 +69,7 @@ void CBattleConsole::showAll(SDL_Surface * to)
 
 bool CBattleConsole::addText(const std::string & text)
 {
+	logGlobal->traceStream() <<"CBattleConsole message: "<<text;
 	if(text.size()>70)
 		return false; //text too long!
 	int firstInToken = 0;