oops
authornemo
Thu, 13 Oct 2011 13:50:41 -0400
changeset 6128 c90f50e6dd8e
parent 6127 00359e113578
child 6129 d1e37b104683
oops
hedgewars/VGSHandlers.inc
--- a/hedgewars/VGSHandlers.inc	Thu Oct 13 11:15:07 2011 -0400
+++ b/hedgewars/VGSHandlers.inc	Thu Oct 13 13:50:41 2011 -0400
@@ -172,7 +172,10 @@
 Gear^.Angle:= round(Gear^.Angle + Steps) mod cMaxAngle;
 
 if Gear^.FrameTicks <= Steps then
-    DeleteVisualGear(Gear)
+    begin
+    DeleteVisualGear(Gear);
+    exit
+    end
 else
     dec(Gear^.FrameTicks, Steps);