use less collision space for the holes
authornemo
Sun, 12 May 2013 07:33:11 -0400
changeset 8981 6213f45b5ead
parent 8980 37f4cdd9cd2c
child 8982 0c0141cf851a
use less collision space for the holes
share/hedgewars/Data/Scripts/Multiplayer/ShoppaMap.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/ShoppaMap.lua	Sat May 11 23:36:39 2013 -0400
+++ b/share/hedgewars/Data/Scripts/Multiplayer/ShoppaMap.lua	Sun May 12 07:33:11 2013 -0400
@@ -352,7 +352,10 @@
             w = GetRandom(40)+10
             AddPoint(x,2200,w,true)
             AddPoint(x,1900)
-            AddCollision(x,2010,w*10+6,76)
+            table.insert(ObjectList,{x-div(w*9,2),
+                                     2010-div(100,2),
+                                     x+div(w*9,2),
+                                     2010+div(100,2)})
         end
     end