2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-26 11:49:25 +01:00

engine: fix possible crash during exit

This commit is contained in:
Alibek Omarov 2019-03-30 01:29:10 +03:00
parent f9f96552b7
commit 8385563bef

View File

@ -136,7 +136,8 @@ void IN_ToggleClientMouse( int newstate, int oldstate )
if( oldstate == key_game )
{
clgame.dllFuncs.IN_DeactivateMouse();
if( cls.initialized )
clgame.dllFuncs.IN_DeactivateMouse();
}
else if( newstate == key_game )
{