Browse Source

engine: fix possible crash during exit

pull/2/head
Alibek Omarov 6 years ago
parent
commit
8385563bef
  1. 1
      engine/client/input.c

1
engine/client/input.c

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

Loading…
Cancel
Save