changeset 14830 | c2793ff4e887 |
parent 14829 | 9443dc6663ba |
child 15908 | 014f4edd0421 |
--- 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;