also make forts face inwards in wrap mode, if there are only 2 teams
authorsheepluva
Tue, 26 Apr 2016 15:19:36 +0200
changeset 11707 ecbf5e6c2c37
parent 11706 863e1a75ec99
child 11731 d07e749d925d
also make forts face inwards in wrap mode, if there are only 2 teams
hedgewars/uLand.pas
--- a/hedgewars/uLand.pas	Tue Apr 26 15:15:12 2016 +0200
+++ b/hedgewars/uLand.pas	Tue Apr 26 15:19:36 2016 +0200
@@ -376,7 +376,7 @@
     // face in random direction
     mirror:= (GetRandom(2) = 0);
     // make first/last fort face inwards
-    if WorldEdge <> weWrap then
+    if (WorldEdge <> weWrap) or (ClansCount = 2) then
         mirror:= (i <> 0) and (mirror or (i = ClansCount - 1));
 
     if mirror then