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:
parent
2276af70dc
commit
745ab7c7df
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user