aboutsummaryrefslogtreecommitdiff
path: root/src/client/clientlauncher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/clientlauncher.cpp')
-rw-r--r--src/client/clientlauncher.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/clientlauncher.cpp b/src/client/clientlauncher.cpp
index 514607fc3..94d2a38c9 100644
--- a/src/client/clientlauncher.cpp
+++ b/src/client/clientlauncher.cpp
@@ -552,6 +552,10 @@ void ClientLauncher::main_menu(MainMenuData *menudata)
#ifndef ANDROID
m_rendering_engine->get_raw_device()->getCursorControl()->setVisible(true);
#endif
+ // Set absolute mouse mode
+#if IRRLICHT_VERSION_MT_REVISION >= 9
+ m_rendering_engine->get_raw_device()->getCursorControl()->setRelativeMode(false);
+#endif
/* show main menu */
GUIEngine mymenu(&input->joystick, guiroot, m_rendering_engine, &g_menumgr, menudata, *kill);