From: Mario Date: Sun, 21 Aug 2016 15:38:55 +0000 (+1000) Subject: Fix compile X-Git-Tag: xonotic-v0.8.2~663^2~13 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=feafba265c9aeccbf93343adef3a6ba28b932ff5;p=xonotic%2Fxonotic-data.pk3dir.git Fix compile --- 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(); }