1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

Fix incorrect check

This commit is contained in:
Tomasz Zieliński 2023-12-10 09:46:20 +01:00
parent 2049c93300
commit 91ebac3c2e

View File

@ -730,12 +730,6 @@ std::vector<const CRmgTemplate *> CMapGenOptions::getPossibleTemplates() const
return true;
}
if(compOnlyPlayerCount != CMapGenOptions::RANDOM_SIZE)
{
if (!tmpl->getHumanPlayers().isInRange(compOnlyPlayerCount))
return true;
}
return false;
});