# HG changeset patch
# User sheepluva
# Date 1402687070 -7200
# Node ID 45e3e901b3b9e51f2f0930832a7e2935ef4c8b4d
# Parent  7d5d93f9a51580d485deab49ad8f451c59f3436b
grmlgrmlpas2cgrmlgrml

diff -r 7d5d93f9a515 -r 45e3e901b3b9 hedgewars/uVisualGearsHandlers.pas
--- 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;