hedgewars/hwengine.pas
changeset 9651 c0a389ccb0c1
parent 9543 1826b5315369
child 9682 aa2431ed87b2
child 9950 2759212a27de
child 9988 317d46a2afd2
--- a/hedgewars/hwengine.pas	Mon Oct 28 16:53:20 2013 +0100
+++ b/hedgewars/hwengine.pas	Mon Oct 28 17:03:20 2013 +0100
@@ -190,7 +190,7 @@
                         cNewScreenHeight:= max(2 * (event.window.data2 div 2), cMinScreenHeight);
                         cScreenResizeDelay:= RealTicks + 500{$IFDEF IPHONEOS}div 2{$ENDIF};
                     end;
-
+{$IFDEF USE_TOUCH_INTERFACE}
                 SDL_FINGERMOTION:
                     onTouchMotion(event.tfinger.x, event.tfinger.y, event.tfinger.dx, event.tfinger.dy, event.tfinger.fingerId);
 
@@ -199,6 +199,7 @@
 
                 SDL_FINGERUP:
                     onTouchUp(event.tfinger.x, event.tfinger.y, event.tfinger.fingerId);
+{$ENDIF}
 {$ELSE}
                 SDL_KEYDOWN:
                     if GameState = gsChat then