mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-02-01 01:34:17 +00:00
engine: fix possible crash during exit
This commit is contained in:
parent
f9f96552b7
commit
8385563bef
@ -136,7 +136,8 @@ void IN_ToggleClientMouse( int newstate, int oldstate )
|
|||||||
|
|
||||||
if( oldstate == key_game )
|
if( oldstate == key_game )
|
||||||
{
|
{
|
||||||
clgame.dllFuncs.IN_DeactivateMouse();
|
if( cls.initialized )
|
||||||
|
clgame.dllFuncs.IN_DeactivateMouse();
|
||||||
}
|
}
|
||||||
else if( newstate == key_game )
|
else if( newstate == key_game )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user