1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

fix formatting

Co-Authored-By: godric3 <godric3@users.noreply.github.com>
This commit is contained in:
Alexander Shishkin
2018-10-28 16:36:11 +01:00
committed by GitHub
parent 7ded9dbda8
commit f563712782

View File

@@ -175,7 +175,8 @@ void CMapGenOptions::resetPlayersMap()
if (getPlayerCount() != RANDOM_SIZE && color < realPlayersCnt)
{
playerType = EPlayerType::HUMAN;
}else if ((getPlayerCount() != RANDOM_SIZE && color >= realPlayersCnt)
}
else if((getPlayerCount() != RANDOM_SIZE && color >= realPlayersCnt)
|| (compOnlyPlayerCount != RANDOM_SIZE && color >= (PlayerColor::PLAYER_LIMIT_I-compOnlyPlayerCount)))
{
playerType = EPlayerType::COMP_ONLY;