share/hedgewars/Data/Scripts/Multiplayer/ShoppaMap.lua
changeset 10044 33e64afccd3b
parent 10036 3be36d2fdca6
child 10150 fa5c83fd0ad9
equal deleted inserted replaced
10043:ca075f0f7cfb 10044:33e64afccd3b
   361     local l = 0
   361     local l = 0
   362     local x = 0
   362     local x = 0
   363     local y = 0
   363     local y = 0
   364     local w = 0
   364     local w = 0
   365     local h = 0 
   365     local h = 0 
   366     GameFlags = bor(GameFlags, gfShoppaBorder)
   366     EnableGameFlags(gfShoppaBorder)
   367     if band(GameFlags,gfBottomBorder) == 0 and GetRandom(2) == 0 then
   367     if not GetGameFlag(gfBottomBorder) and GetRandom(2) == 0 then
   368         AddPoint(-50,2010,7)
   368         AddPoint(-50,2010,7)
   369         AddPoint(4150,2010)
   369         AddPoint(4150,2010)
   370         for i = 0,GetRandom(3) do
   370         for i = 0,GetRandom(3) do
   371             x = GetRandom(4096)
   371             x = GetRandom(4096)
   372             w = GetRandom(40)+10
   372             w = GetRandom(40)+10