hedgewars/uGearsHandlersMess.pas
changeset 14779 bc0e86b0347b
parent 14771 ab7bf5036314
child 14780 c6b7f4a4122c
--- a/hedgewars/uGearsHandlersMess.pas	Sun Apr 07 22:57:58 2019 +0200
+++ b/hedgewars/uGearsHandlersMess.pas	Sun Apr 07 23:08:33 2019 +0200
@@ -2290,7 +2290,7 @@
         CalcRotationDirAngle(Gear);
         end;
 
-    Gear^.RenderTimer:= ((Gear^.State and gstFrozen) = 0) and ((Gear^.State and gstAttacking) = 0);
+    Gear^.RenderTimer:= (Gear^.State and (gstFrozen or gstAttacking or gstDrowning) = 0);
     if ((Gear^.State and gsttmpFlag) <> 0) and (Gear^.Health <> 0) then
         begin
         if ((Gear^.State and gstAttacking) = 0) and ((Gear^.State and gstFrozen) = 0) then