wops, added an extra USE_TOUCH_INTERFACE
authorXeli
Thu, 16 Feb 2012 16:16:59 +0100
changeset 6689 98a239848ba2
parent 6688 b2084a00a4cf
child 6690 46b3f4776538
wops, added an extra USE_TOUCH_INTERFACE
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;