diff --git a/src/game/server/teams.h b/src/game/server/teams.h index 5ec2065b5..84d0607df 100644 --- a/src/game/server/teams.h +++ b/src/game/server/teams.h @@ -91,6 +91,9 @@ public: ; bool TeamLocked(int Team) { + if (Team <= TEAM_FLOCK || Team >= TEAM_SUPER) + return false; + return m_TeamLocked[Team]; } ;