mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-13 01:20:34 +02:00
One more fix for options
This commit is contained in:
@ -1885,7 +1885,8 @@ void CRandomMapTab::updateMapInfo()
|
||||
PlayerInfo player;
|
||||
player.isFactionRandom = true;
|
||||
player.canComputerPlay = true;
|
||||
if(i >= mapGenOptions.getHumanOnlyPlayerCount())
|
||||
if(mapGenOptions.getCompOnlyPlayerCount() != CMapGenOptions::RANDOM_SIZE &&
|
||||
i >= mapGenOptions.getHumanOnlyPlayerCount())
|
||||
{
|
||||
player.canHumanPlay = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user