mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Logging cleanup
This commit is contained in:
@@ -270,7 +270,7 @@ void CMapGenOptions::finalize(CRandomGenerator & rand)
|
||||
//setHeight(20);
|
||||
//setWidth(50);
|
||||
|
||||
logGlobal->traceStream() << "Player config:";
|
||||
logGlobal->trace("Player config:");
|
||||
int humanPlayers = 0, cpuOnlyPlayers = 0, AIplayers = 0;
|
||||
for (auto player : players)
|
||||
{
|
||||
@@ -378,7 +378,7 @@ PlayerColor CMapGenOptions::getNextPlayerColor() const
|
||||
return i;
|
||||
}
|
||||
}
|
||||
logGlobal->errorStream() << "Failed to get next player color";
|
||||
logGlobal->error("Failed to get next player color");
|
||||
assert(false);
|
||||
return PlayerColor(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user