--- 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