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:
parent
6d0221c0e7
commit
d31277c3cc
@ -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;
|
||||
}));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user