mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Removed getStr(bool), replaced with similar toString()
This commit is contained in:
@@ -136,7 +136,7 @@ HeroTypeID CGameState::pickUnusedHeroTypeRandomly(const PlayerColor & owner)
|
||||
return *RandomGeneratorUtil::nextItem(factionHeroes, getRandomGenerator());
|
||||
}
|
||||
|
||||
logGlobal->warn("Cannot find free hero of appropriate faction for player %s - trying to get first available...", owner.getStr());
|
||||
logGlobal->warn("Cannot find free hero of appropriate faction for player %s - trying to get first available...", owner.toString());
|
||||
if(!otherHeroes.empty())
|
||||
{
|
||||
return *RandomGeneratorUtil::nextItem(otherHeroes, getRandomGenerator());
|
||||
|
||||
Reference in New Issue
Block a user