mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
fix formatting
Co-Authored-By: godric3 <godric3@users.noreply.github.com>
This commit is contained in:
parent
7ded9dbda8
commit
f563712782
@ -175,7 +175,8 @@ void CMapGenOptions::resetPlayersMap()
|
|||||||
if (getPlayerCount() != RANDOM_SIZE && color < realPlayersCnt)
|
if (getPlayerCount() != RANDOM_SIZE && color < realPlayersCnt)
|
||||||
{
|
{
|
||||||
playerType = EPlayerType::HUMAN;
|
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)))
|
|| (compOnlyPlayerCount != RANDOM_SIZE && color >= (PlayerColor::PLAYER_LIMIT_I-compOnlyPlayerCount)))
|
||||||
{
|
{
|
||||||
playerType = EPlayerType::COMP_ONLY;
|
playerType = EPlayerType::COMP_ONLY;
|
||||||
|
Loading…
Reference in New Issue
Block a user