From 6455689e3234f92771fbc732e057482f05b85b18 Mon Sep 17 00:00:00 2001 From: def Date: Sun, 28 Jun 2020 13:25:39 +0200 Subject: [PATCH] Super team can't be saved/loaded Thanks to Lady Saavik for report --- src/game/server/teams.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game/server/teams.h b/src/game/server/teams.h index 0f584ae56..7f1153ca7 100644 --- a/src/game/server/teams.h +++ b/src/game/server/teams.h @@ -123,6 +123,9 @@ public: bool GetSaving(int TeamID) { + if(TeamID <= TEAM_FLOCK || TeamID >= TEAM_SUPER) + return false; + return m_pSaveTeamResult[TeamID] != nullptr; }