瀏覽代碼

Added CBattleConsole tracing

AlexVinS 10 年之前
父節點
當前提交
cbd8900c0b
共有 1 個文件被更改,包括 1 次插入0 次删除
  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)
 bool CBattleConsole::addText(const std::string & text)
 {
 {
+	logGlobal->traceStream() <<"CBattleConsole message: "<<text;
 	if(text.size()>70)
 	if(text.size()>70)
 		return false; //text too long!
 		return false; //text too long!
 	int firstInToken = 0;
 	int firstInToken = 0;