mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +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 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