From 7af167bdd3b5435fa1bd5c8763e01046f295f37b Mon Sep 17 00:00:00 2001 From: mittorn Date: Mon, 30 Jul 2018 04:34:14 +0700 Subject: [PATCH] Fix typo --- dlls/multiplay_gamerules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/multiplay_gamerules.cpp b/dlls/multiplay_gamerules.cpp index 44b81167..25979961 100644 --- a/dlls/multiplay_gamerules.cpp +++ b/dlls/multiplay_gamerules.cpp @@ -663,7 +663,7 @@ void CHalfLifeMultiplay::PlayerSpawn( CBasePlayer *pPlayer ) addDefault = FALSE; } - if( pPlayer->gravgunmod_data.m_state = STATE_SPAWNED ) + if( pPlayer->gravgunmod_data.m_state != STATE_SPAWNED ) return; if( addDefault )