forked from mirrors/0ad
Don't place trees inside civic centers on tiny Corsica vs Sardinia.
This was SVN commit r21091.
This commit is contained in:
@@ -209,14 +209,15 @@ for (let island = 0; island < 2; ++island)
|
||||
{
|
||||
playerAngle[p] = Math.PI * ((i + 0.5) / (2 * playersPerIsland) + island) + swapAngle;
|
||||
playerPosition[p] = Vector2D.add(islandLocations[island], new Vector2D(radiusPlayer).rotate(-playerAngle[p]));
|
||||
addCivicCenterAreaToClass(playerPosition[i], clPlayer);
|
||||
++p;
|
||||
}
|
||||
}
|
||||
|
||||
placePlayerBases({
|
||||
"PlayerPlacement": [sortAllPlayers(), playerPosition],
|
||||
"PlayerTileClass": clPlayer,
|
||||
"BaseResourceClass": clBaseResource,
|
||||
"baseResourceConstraint": avoidClasses(clPlayer, 2),
|
||||
"Walls": false,
|
||||
"CityPatch": {
|
||||
"outerTerrain": tRoadWild,
|
||||
|
||||
Reference in New Issue
Block a user