hedgewars/uCursor.pas
changeset 14814 c2793ff4e887
parent 14813 9443dc6663ba
--- a/hedgewars/uCursor.pas	Thu Apr 18 19:44:25 2019 +0200
+++ b/hedgewars/uCursor.pas	Thu Apr 18 20:02:45 2019 +0200
@@ -1,3 +1,5 @@
+{$INCLUDE "options.inc"}
+
 unit uCursor;
 
 interface
@@ -17,7 +19,9 @@
 begin
     SDL_ShowCursor(SDL_DISABLE);
     resetPosition();
+{$IFNDEF USE_TOUCH_INTERFACE}
     SDL_SetRelativeMouseMode(SDL_TRUE);
+{$ENDIF}
 end;
 
 procedure resetPosition;