mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Logging cleanup.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user