hedgewars/uVisualGearsHandlers.pas
changeset 10299 45e3e901b3b9
parent 10298 7d5d93f9a515
child 10354 56bd029245fc
--- a/hedgewars/uVisualGearsHandlers.pas	Fri Jun 13 17:51:55 2014 +0200
+++ b/hedgewars/uVisualGearsHandlers.pas	Fri Jun 13 21:17:50 2014 +0200
@@ -911,7 +911,7 @@
     else
         Gear^.Tint:= $FF000000;
     // fade out alpha
-    Gear^.Tint:= (Gear^.Tint and not $FF) or (255 * Gear^.FrameTicks div 3000);
+    Gear^.Tint:= (Gear^.Tint and (not $FF)) or (255 * Gear^.FrameTicks div 3000);
     end
 end;