share/hedgewars/Data/Scripts/Multiplayer/ShoppaMap.lua
changeset 9387 6478ed9ead25
parent 9257 e89e1ab7f62b
child 10036 3be36d2fdca6
equal deleted inserted replaced
9385:dca86192d773 9387:6478ed9ead25
   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     if band(GameFlags,gfBottomBorder) == 0 and GetRandom(2) == 0 then
   367     if band(GameFlags,gfBottomBorder) == 0 and GetRandom(2) == 0 then
   367         AddPoint(-50,2010,7)
   368         AddPoint(-50,2010,7)
   368         AddPoint(4150,2010)
   369         AddPoint(4150,2010)
   369         for i = 0,GetRandom(3) do
   370         for i = 0,GetRandom(3) do
   370             x = GetRandom(4096)
   371             x = GetRandom(4096)