drowning flake graphics tweak
authornemo
Sun, 07 Aug 2011 12:50:17 -0400
changeset 5519 c803fca71084
parent 5518 4b0ea752dec7
child 5520 7a950ef0cee0
drowning flake graphics tweak
hedgewars/uGearsRender.pas
--- a/hedgewars/uGearsRender.pas	Sun Aug 07 18:49:49 2011 +0200
+++ b/hedgewars/uGearsRender.pas	Sun Aug 07 12:50:17 2011 -0400
@@ -1055,7 +1055,7 @@
                     Tint($FF, $FF, $FF, $FF);
                     end;
       gtNapalmBomb: DrawRotated(sprNapalmBomb, x, y, 0, DxDy2Angle(Gear^.dY, Gear^.dX));
-           gtFlake: if (Gear^.State and gstTmpFlag) <> 0 then
+           gtFlake: if Gear^.State and (gstDrowning or gstTmpFlag) <> 0  then
                         begin
                         Tint((cExplosionBorderColor shr RShift) and $FF, 
                              (cExplosionBorderColor shr GShift) and $FF,