1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Logging cleanup.

This commit is contained in:
AlexVinS
2017-08-11 14:38:10 +03:00
parent c293589c07
commit 64d9dadd64
30 changed files with 146 additions and 149 deletions

View File

@@ -234,7 +234,7 @@ void CArmyTooltip::init(const InfoAboutArmy &army)
{
if(slot.first.getNum() >= GameConstants::ARMY_SIZE)
{
logGlobal->warnStream() << "Warning: " << army.name << " has stack in slot " << slot.first;
logGlobal->warn("%s has stack in slot %d", army.name, slot.first.getNum());
continue;
}