1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-02 23:07:36 +02:00

One more fix for options

This commit is contained in:
ArseniyShestakov 2015-11-25 07:40:35 +03:00
parent 2276af70dc
commit 745ab7c7df

View File

@ -1885,7 +1885,8 @@ void CRandomMapTab::updateMapInfo()
PlayerInfo player; PlayerInfo player;
player.isFactionRandom = true; player.isFactionRandom = true;
player.canComputerPlay = true; player.canComputerPlay = true;
if(i >= mapGenOptions.getHumanOnlyPlayerCount()) if(mapGenOptions.getCompOnlyPlayerCount() != CMapGenOptions::RANDOM_SIZE &&
i >= mapGenOptions.getHumanOnlyPlayerCount())
{ {
player.canHumanPlay = false; player.canHumanPlay = false;
} }