]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix compilation unit
authorMario <mario@smbclan.net>
Mon, 11 Jun 2018 02:15:01 +0000 (12:15 +1000)
committerMario <mario@smbclan.net>
Mon, 11 Jun 2018 02:15:01 +0000 (12:15 +1000)
qcsrc/common/util.qh
qcsrc/server/g_world.qc
qcsrc/server/items.qc
qcsrc/server/miscfunctions.qc
qcsrc/server/player.qc

index 2e7d8b13f7fe9e546af10f07f3ebf7c493197016..a1c0d6785fb416efa1b02c641d409b1e5e05d407 100644 (file)
@@ -1,5 +1,9 @@
 #pragma once
 
+#ifdef SVQC
+       #include <server/autocvars.qh>
+#endif
+
 #ifdef SVQC
 float tracebox_inverted (vector v1, vector mi, vector ma, vector v2, float nomonsters, entity forent, float stopatentity, entity ignorestopatentity); // returns the number of traces done, for benchmarking
 
index a8c2a76fc9bbb80375a2b5512e81ec7afa59319f..98e38f4d5e70995e8d389448187770fe5148e8e5 100644 (file)
@@ -21,6 +21,7 @@
 #include "../common/constants.qh"
 #include <common/net_linked.qh>
 #include "../common/deathtypes/all.qh"
+#include "../common/gamemodes/sv_rules.qh"
 #include "../common/mapinfo.qh"
 #include "../common/monsters/_mod.qh"
 #include "../common/monsters/sv_monsters.qh"
index fbbafd7eb6c0d5c5866b984a0e2684db59d7250f..8a1768a8c58263434d67627260c7ae76cf31aaa5 100644 (file)
@@ -7,6 +7,7 @@
 
 #include "mutators/events.qh"
 #include <common/weapons/all.qh>
+#include <common/mapobjects/subs.qh>
 
 .bool m_isloot; ///< Holds whether item is loot.
 /// \brief Holds whether strength, shield or superweapon timers expire while
index 4ba5efb09fb80261e3c61dd82eaf7480c6c22578..25ba4b9f54991cf1dc18815e0d15b8bfffee6a8b 100644 (file)
@@ -9,6 +9,7 @@
 #include "../common/t_items.qh"
 #include "resources.qh"
 #include "items.qh"
+#include "player.qh"
 #include "weapons/accuracy.qh"
 #include "weapons/csqcprojectile.qh"
 #include "weapons/selection.qh"
index 3170c99bca940003b711fe49d8958686d384edf5..51a0df459c81f76a76b1144425194525d90bd442 100644 (file)
@@ -14,6 +14,7 @@
 #include "../common/anim.qh"
 #include "../common/animdecide.qh"
 #include "../common/csqcmodel_settings.qh"
+#include "../common/gamemodes/sv_rules.qh"
 #include "../common/deathtypes/all.qh"
 #include "../common/mapobjects/subs.qh"
 #include "../common/playerstats.qh"