1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Minor compile fix, not sure why it's necessary.

This commit is contained in:
DjWarmonger 2013-01-09 08:58:58 +00:00
parent 6d0221c0e7
commit d31277c3cc

View File

@ -289,7 +289,7 @@ int CMapGenerator::countHumanPlayers() const
{
return static_cast<int>(std::count_if(players.begin(), players.end(), [](const std::pair<TPlayerColor, CPlayerSettings> & pair)
{
return pair.second.getPlayerType() == CPlayerSettings::HUMAN;
return pair.second.getPlayerType() == CMapGenerator::CPlayerSettings::HUMAN;
}));
}