]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix compile
authorMario <mario@smbclan.net>
Sun, 21 Aug 2016 15:38:55 +0000 (01:38 +1000)
committerMario <mario@smbclan.net>
Sun, 21 Aug 2016 15:38:55 +0000 (01:38 +1000)
qcsrc/server/client.qh
qcsrc/server/defs.qh

index 28f957479cce428b00320a56779c319495686d1c..c2317aff0280b46179c7bc52d3d79f95913eba7f 100644 (file)
@@ -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);
index 583c6c541135e69c044f87c18bfbe801af31d71e..5680840456fb8e333c1087442a384ec4b38df1b9 100644 (file)
@@ -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(); }