# HG changeset patch
# User Xeli
# Date 1329405419 -3600
# Node ID 98a239848ba2bfd4c8bb7774c0dd37d413a98e6a
# Parent  b2084a00a4cf4a91d2383451922409fd680d1f6e
wops, added an extra USE_TOUCH_INTERFACE

diff -r b2084a00a4cf -r 98a239848ba2 hedgewars/uRender.pas
--- a/hedgewars/uRender.pas	Thu Feb 16 16:02:41 2012 +0100
+++ b/hedgewars/uRender.pas	Thu Feb 16 16:16:59 2012 +0100
@@ -451,6 +451,7 @@
 procedure DrawScreenWidget(widget: POnScreenWidget);
 var alpha: byte = $FF;
 begin
+{$IFDEF USE_TOUCH_INTERFACE}
 with widget^ do
     begin
     if (fadeAnimStart <> 0) then
@@ -485,6 +486,7 @@
         Tint($FF, $FF, $FF, $FF);
         end;
     end;
+{$ENDIF}
 end;
 
 procedure Tint(r, g, b, a: Byte); inline;