diff --git a/src/game/g_main.pas b/src/game/g_main.pas
index 07d2f48007b52a75ccd1c7b3befae8dac45b1708..960eb9eeafaccd3325d119a7a042c03b5cfd796f 100644 (file)
--- a/src/game/g_main.pas
+++ b/src/game/g_main.pas
sdlflags := SDL_INIT_JOYSTICK or SDL_INIT_TIMER or SDL_INIT_VIDEO;
{$ENDIF}
{$ENDIF}
+
+ SDL_SetHint(SDL_HINT_ACCELEROMETER_AS_JOYSTICK, '0');
+
if SDL_Init(sdlflags) < 0 then
raise Exception.Create('SDL: Init failed: ' + SDL_GetError());