fix latest gcc builds (#19)

Co-authored-by: Danny Parker <DannyParker0001@users.noreply.github.com>
This commit is contained in:
Danny Parker
2021-10-01 20:32:20 +03:00
committed by GitHub
co-authored by Danny Parker
parent 2c6669f5e3
commit 61302b61e7
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1152,7 +1152,7 @@ void ClientModeShared::FireGameEvent( IGameEvent *event )
}
}
if ( team == 0 && GetLocalTeam() > 0 )
if ( team == 0 && GetLocalTeam() > (C_Team*)0 )
{
bValidTeam = false;
}