mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
Merge pull request #371 from JeodC/hwcursorfix
Only use standard mouse mode in debug
This commit is contained in:
commit
cffeb20a3e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user