If mouse_toggle_cursor is set to activate, do not toggle ursor visibility as mouse_update_cursor_and_grab might decide it should be hidden
This commit is contained in:
parent
f0edc54479
commit
7864eb52a0
|
@ -3,6 +3,7 @@ D1X-Rebirth Changelog
|
|||
20100801
|
||||
--------
|
||||
main/menu.c, main/songs.c, main/songs.h, main/gameseq.c, main/digi.h, arch/sdl/digi.c: Builtin music list now dynamically allocated and not limited to 30 songs; Instead of never loading new level when loading savestate ingame, only do this for Redbook and Custom Music playing order 'continously'; if no endlevel song is specified in Custom Music continue with level music
|
||||
arch/sdl/mouse.c: If mouse_toggle_cursor is set to activate, do not toggle ursor visibility as mouse_update_cursor_and_grab might decide it should be hidden
|
||||
|
||||
20100731
|
||||
--------
|
||||
|
|
|
@ -243,7 +243,6 @@ void mouse_toggle_cursor(int activate)
|
|||
Mouse.cursor_enabled = (activate && !GameArg.CtlNoMouse);
|
||||
if (Mouse.cursor_enabled)
|
||||
{
|
||||
SDL_ShowCursor(SDL_ENABLE);
|
||||
if (GameArg.CtlGrabMouse)
|
||||
SDL_WM_GrabInput(SDL_GRAB_OFF);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue