From: Lyberta Date: Sun, 8 Apr 2018 21:43:45 +0000 (+0300) Subject: Use delete() instead of remove(). X-Git-Tag: xonotic-v0.8.5~1953^2~21 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f5ea4378a0b45422a040030067930a352ed4c7b2;p=xonotic%2Fxonotic-data.pk3dir.git Use delete() instead of remove(). --- diff --git a/qcsrc/server/teamplay.qc b/qcsrc/server/teamplay.qc index 7c8d8cea7..6a6a26341 100644 --- a/qcsrc/server/teamplay.qc +++ b/qcsrc/server/teamplay.qc @@ -396,9 +396,9 @@ void TeamBalance_Destroy(entity balance) } for (int i = 0; i < NUM_TEAMS; ++i) { - remove(balance.(m_team_balance_team[i])); + delete(balance.(m_team_balance_team[i])); } - remove(balance); + delete(balance); } int TeamBalance_GetAllowedTeams(entity balance)