mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-23 04:52:07 +00:00
Minor console mouse release tweak.
This commit is contained in:
parent
63e7855ab7
commit
eb8a2d792f
1 changed files with 1 additions and 1 deletions
|
@ -693,7 +693,7 @@ void
|
||||||
CL_UpdateWindowedMouse(void)
|
CL_UpdateWindowedMouse(void)
|
||||||
{
|
{
|
||||||
if (cls.key_dest == key_menu || cls.key_dest == key_console ||
|
if (cls.key_dest == key_menu || cls.key_dest == key_console ||
|
||||||
(cls.key_dest == key_game && cls.state == ca_disconnected))
|
(cls.key_dest == key_game && cls.state != ca_active && !cls.disable_screen))
|
||||||
{
|
{
|
||||||
Cvar_SetValue("windowed_mouse", 0);
|
Cvar_SetValue("windowed_mouse", 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue