Only draw border for solid land
authornemo
Sat, 01 Mar 2014 15:04:38 -0500
changeset 10172 7cfd1a9356b5
parent 10171 00f41ff0bf2d
child 10173 fff5e4b0dfcb
Only draw border for solid land
share/hedgewars/Data/Scripts/Multiplayer/ShoppaMap.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/ShoppaMap.lua	Sat Mar 01 14:52:36 2014 -0500
+++ b/share/hedgewars/Data/Scripts/Multiplayer/ShoppaMap.lua	Sat Mar 01 15:04:38 2014 -0500
@@ -367,7 +367,7 @@
     local y = 0
     local w = 0
     local h = 0 
-    EnableGameFlags(gfShoppaBorder)
+    if GetGameFlag(gfSolidLand) then EnableGameFlags(gfShoppaBorder) end
     if not GetGameFlag(gfBottomBorder) and GetRandom(2) == 0 then
         AddPoint(-50,2010,7)
         AddPoint(4150,2010)