mirror of
https://github.com/ENSL/NS.git
synced 2024-11-28 15:22:06 +00:00
fix crash after getting kicked from a server
This commit is contained in:
parent
0e53e0ee3d
commit
42346aee87
1 changed files with 2 additions and 1 deletions
|
@ -445,7 +445,8 @@ void WeaponsResource::UserCmd_MovementOff()
|
|||
IN_Attack2Up();
|
||||
IN_ReloadUp();
|
||||
|
||||
if (gViewPort)
|
||||
// Check if we're in game.
|
||||
if (gEngfuncs.pfnGetLevelName()[0] != 0)
|
||||
{
|
||||
if (gHUD.GetHUDUser3() == AVH_USER3_ALIEN_PLAYER2)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue