From feafba265c9aeccbf93343adef3a6ba28b932ff5 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 22 Aug 2016 01:38:55 +1000 Subject: [PATCH] Fix compile --- qcsrc/server/client.qh | 3 +++ qcsrc/server/defs.qh | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qcsrc/server/client.qh b/qcsrc/server/client.qh index 28f957479..c2317aff0 100644 --- a/qcsrc/server/client.qh +++ b/qcsrc/server/client.qh @@ -2,6 +2,9 @@ void ClientState_attach(entity this); +IntrusiveList g_players; +STATIC_INIT(g_players) { g_players = IL_NEW(); } + CLASS(Client, Object) /** Client name */ ATTRIB(Client, netname, string, this.netname); diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index 583c6c541..568084045 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -463,6 +463,3 @@ STATIC_INIT(g_assault_objectivedecreasers) { g_assault_objectivedecreasers = IL_ IntrusiveList g_spawnpoints; STATIC_INIT(g_spawnpoints) { g_spawnpoints = IL_NEW(); } - -IntrusiveList g_players; -STATIC_INIT(g_players) { g_players = IL_NEW(); } -- 2.39.2