Fix crasher in TestCake
authorunc0rr
Sat, 13 Oct 2012 23:36:04 +0400
changeset 7752 65bacd3ba69e
parent 7751 8c7f5c43ea5e
child 7753 dda33caa609d
Fix crasher in TestCake
hedgewars/uAIAmmoTests.pas
--- a/hedgewars/uAIAmmoTests.pas	Sat Oct 13 15:45:14 2012 +0400
+++ b/hedgewars/uAIAmmoTests.pas	Sat Oct 13 23:36:04 2012 +0400
@@ -1113,6 +1113,7 @@
     //FillChar(cake, sizeof(cake), 0);
     cake.Radius:= 7;
     cake.CollisionMask:= $FF7F;
+    cake.Hedgehog:= Me^.Hedgehog;
 
     // check left direction
     cake.Angle:= 3;