Merge pull request #371 from JeodC/hwcursorfix

Only use standard mouse mode in debug
This commit is contained in:
Jeod 2024-05-20 15:20:19 -04:00 committed by GitHub
commit cffeb20a3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1447,6 +1447,7 @@ void InitIOSystems(bool editor) {
Descent->set_defer_handler(D3DeferHandler);
#ifndef RELEASE
if (!editor && !FindArg("-windowed")) {
if (Dedicated_server) {
ddio_MouseMode(MOUSE_STANDARD_MODE);
@ -1454,6 +1455,9 @@ void InitIOSystems(bool editor) {
ddio_MouseMode(MOUSE_EXCLUSIVE_MODE);
}
}
#else
ddio_MouseMode(MOUSE_EXCLUSIVE_MODE);
#endif
// do io init stuff
io_info.obj = Descent;