share/hedgewars/Data/Scripts/Multiplayer/ShoppaMap.lua
changeset 10044 33e64afccd3b
parent 10036 3be36d2fdca6
child 10150 fa5c83fd0ad9
--- a/share/hedgewars/Data/Scripts/Multiplayer/ShoppaMap.lua	Tue Jan 21 23:46:48 2014 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/ShoppaMap.lua	Tue Jan 21 23:53:26 2014 +0100
@@ -363,8 +363,8 @@
     local y = 0
     local w = 0
     local h = 0 
-    GameFlags = bor(GameFlags, gfShoppaBorder)
-    if band(GameFlags,gfBottomBorder) == 0 and GetRandom(2) == 0 then
+    EnableGameFlags(gfShoppaBorder)
+    if not GetGameFlag(gfBottomBorder) and GetRandom(2) == 0 then
         AddPoint(-50,2010,7)
         AddPoint(4150,2010)
         for i = 0,GetRandom(3) do