Tweak the order of some #includes
authorTimePath <andrew.hardaker1995@gmail.com>
Sat, 31 Jan 2015 08:14:09 +0000 (19:14 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Sat, 31 Jan 2015 08:14:09 +0000 (19:14 +1100)
qcsrc/common/util.qc
qcsrc/common/weapons/weapons.qc

index 64813f2..99fecda 100644 (file)
@@ -1,9 +1,10 @@
+#include "util.qh"
+
 #if defined(CSQC)
        #include "../dpdefs/csprogsdefs.qh"
     #include "../client/defs.qh"
     #include "constants.qh"
     #include "../warpzonelib/mathlib.qh"
-    #include "util.qh"
     #include "mapinfo.qh"
     #include "notifications.qh"
     #include "deathtypes.qh"
@@ -13,7 +14,6 @@
     #include "../dpdefs/dpextensions.qh"
     #include "../warpzonelib/mathlib.qh"
     #include "constants.qh"
-    #include "util.qh"
     #include "../server/autocvars.qh"
     #include "../server/defs.qh"
     #include "notifications.qh"
index b9079a5..2b2fca3 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef WEAPONS_C
 #define WEAPONS_C
 
+#include "weapons.qh"
+
 #if defined(CSQC)
        #include "../../dpdefs/csprogsdefs.qh"
        #include "../../client/defs.qh"
@@ -12,7 +14,6 @@
        #include "../../warpzonelib/client.qh"
        #include "../util.qh"
        #include "../buffs.qh"
-       #include "weapons.qh"
        #include "../../client/autocvars.qh"
        #include "../deathtypes.qh"
        #include "../../csqcmodellib/interpolate.qh"
@@ -35,7 +36,6 @@
     #include "../buffs.qh"
     #include "../monsters/monsters.qh"
     #include "config.qh"
-    #include "weapons.qh"
     #include "../../server/weapons/csqcprojectile.qh"
     #include "../../server/weapons/tracing.qh"
     #include "../../server/t_items.qh"