share/hedgewars/Data/Scripts/Multiplayer/ShoppaMap.lua
changeset 10036 3be36d2fdca6
parent 9387 6478ed9ead25
child 10150 fa5c83fd0ad9
equal deleted inserted replaced
10035:ec523f66d0ff 10036:3be36d2fdca6
   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