hedgewars/uGearsList.pas
changeset 12646 f30b70976577
parent 12208 668ee6e388bd
child 12669 943b258d5443
--- a/hedgewars/uGearsList.pas	Wed Oct 04 15:28:32 2017 +0200
+++ b/hedgewars/uGearsList.pas	Wed Oct 04 15:37:42 2017 +0200
@@ -580,6 +580,8 @@
                 gear^.Z:= cOnHHZ;
                 gear^.RenderTimer:= false;
                 gear^.DirAngle:= -90 * hwSign(Gear^.dX);
+                gear^.FlightTime:= 100; // (roughly) ticks spent dropping, used to skip getting up anim when stuck.
+                                        // Initially set to a high value so cake has at least one getting up anim.
                 if not dX.isNegative then
                     gear^.Angle:= 1
                 else