hedgewars/uAIAmmoTests.pas
changeset 8744 6c87486fd89b
parent 8370 0c79946e96f8
child 8751 4609823efc94
--- a/hedgewars/uAIAmmoTests.pas	Sun Mar 17 10:25:19 2013 -0400
+++ b/hedgewars/uAIAmmoTests.pas	Sun Mar 17 14:09:54 2013 -0400
@@ -1171,7 +1171,7 @@
 
     //FillChar(cake, sizeof(cake), 0);
     cake.Radius:= 7;
-    cake.CollisionMask:= $FF7F;
+    cake.CollisionMask:= lfCurrentMask;
     cake.Hedgehog:= Me^.Hedgehog;
 
     // check left direction