From 8a55eb2e9db747e0192d2e3801e08dec93b0c29a Mon Sep 17 00:00:00 2001 From: terencehill Date: Wed, 17 Mar 2021 12:31:41 +0100 Subject: [PATCH] Assign classnames to some entities --- qcsrc/server/elimination.qc | 2 +- qcsrc/server/teamplay.qc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/elimination.qc b/qcsrc/server/elimination.qc index b081c91a7..28d102766 100644 --- a/qcsrc/server/elimination.qc +++ b/qcsrc/server/elimination.qc @@ -31,6 +31,6 @@ void EliminatedPlayers_Init(float(entity) isEliminated_func) backtrace("Can't spawn eliminatedPlayers again!"); return; } - Net_LinkEntity(eliminatedPlayers = new_pure(), false, 0, EliminatedPlayers_SendEntity); + Net_LinkEntity(eliminatedPlayers = new_pure(eliminatedPlayers), false, 0, EliminatedPlayers_SendEntity); eliminatedPlayers.isEliminated = isEliminated_func; } diff --git a/qcsrc/server/teamplay.qc b/qcsrc/server/teamplay.qc index 6c45ab431..7abd4e6bc 100644 --- a/qcsrc/server/teamplay.qc +++ b/qcsrc/server/teamplay.qc @@ -52,7 +52,7 @@ void Team_InitTeams() return; for (int i = 0; i < NUM_TEAMS; ++i) { - g_team_entities[i] = new_pure(); + g_team_entities[i] = new_pure(team_entity); } } -- 2.39.2