Browse Source

Fix incorrect check

Tomasz Zieliński 1 year ago
parent
commit
91ebac3c2e
1 changed files with 0 additions and 6 deletions
  1. 0 6
      lib/rmg/CMapGenOptions.cpp

+ 0 - 6
lib/rmg/CMapGenOptions.cpp

@@ -730,12 +730,6 @@ std::vector<const CRmgTemplate *> CMapGenOptions::getPossibleTemplates() const
 				return true;
 		}
 
-		if(compOnlyPlayerCount != CMapGenOptions::RANDOM_SIZE)
-		{
-			if (!tmpl->getHumanPlayers().isInRange(compOnlyPlayerCount))
-				return true;
-		}
-
 		return false;
 	});