# HG changeset patch
# User sheepluva
# Date 1461676776 -7200
# Node ID ecbf5e6c2c376e80654da7b493cc79da13f9839f
# Parent  863e1a75ec99f07b4663fc8f7b2f0cf2f9ddf652
also make forts face inwards in wrap mode, if there are only 2 teams

diff -r 863e1a75ec99 -r ecbf5e6c2c37 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