author | sheepluva |
Tue, 18 Oct 2011 05:43:16 +0200 | |
branch | 0.9.16 |
changeset 6005 | 3470f3f547ca |
parent 6003 | 74431bf4c632 |
child 6007 | b3b9e995ae90 |
--- a/hedgewars/VGSHandlers.inc Sun Oct 16 19:02:48 2011 +0200 +++ b/hedgewars/VGSHandlers.inc Tue Oct 18 05:43:16 2011 +0200 @@ -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);