1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Added CBattleConsole tracing

This commit is contained in:
AlexVinS 2015-09-12 23:03:45 +03:00
parent f310be5d5f
commit cbd8900c0b

View File

@ -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;