diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-11 21:12:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-11 21:56:22 +0300 |
commit | 7cf130e2deb98987925a6682203a4773988daaf9 (patch) | |
tree | cf37a87e4fdc5220f0c95cc93c78fa8d6e01daa9 /src/gui/gui.cpp | |
parent | a75d8e305b43e2797bfd93cd481868d858712146 (diff) | |
download | manaverse-7cf130e2deb98987925a6682203a4773988daaf9.tar.gz manaverse-7cf130e2deb98987925a6682203a4773988daaf9.tar.bz2 manaverse-7cf130e2deb98987925a6682203a4773988daaf9.tar.xz manaverse-7cf130e2deb98987925a6682203a4773988daaf9.zip |
Add command line option for use default sdl cursor.
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 227b0c463..60ce059ea 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -257,7 +257,8 @@ void Gui::postInit(Graphics *const graphics) Widget::setGlobalFont(mGuiFont); // Initialize mouse cursor and listen for changes to the option - setUseCustomCursor(config.getBoolValue("customcursor")); + setUseCustomCursor(config.getBoolValue("customcursor") && + !settings.options.defaultCursor); setDoubleClick(config.getBoolValue("doubleClick")); config.addListener("customcursor", mConfigListener); config.addListener("doubleClick", mConfigListener); |