From 62b022b3c3405947905069ab8e2b9e4b0323fbdd Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Sat, 29 Sep 2018 15:40:18 +0200 Subject: [PATCH] No longer use ">" to check for pointer validity --- mp/src/game/client/clientmode_shared.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mp/src/game/client/clientmode_shared.cpp b/mp/src/game/client/clientmode_shared.cpp index 622208a4..36c34420 100644 --- a/mp/src/game/client/clientmode_shared.cpp +++ b/mp/src/game/client/clientmode_shared.cpp @@ -1136,7 +1136,7 @@ void ClientModeShared::FireGameEvent( IGameEvent *event ) } } - if ( team == 0 && GetLocalTeam() > 0 ) + if ( team == 0 && GetLocalTeam() ) { bValidTeam = false; }