]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix compilation unit
authorMario <mario@smbclan.net>
Sat, 15 Jul 2017 19:30:07 +0000 (05:30 +1000)
committerMario <mario@smbclan.net>
Sat, 15 Jul 2017 19:30:07 +0000 (05:30 +1000)
qcsrc/common/physics/player.qh
qcsrc/server/command/banning.qc
qcsrc/server/mapvoting.qc
qcsrc/server/playerdemo.qc

index e3e563ebeda615c245ff67055fcc11603d6f5599..5f43c2a5bec9fda0bf3c23966432a47dc4a8137f 100644 (file)
@@ -2,6 +2,11 @@
 
 // Client/server mappings
 
+#ifdef SVQC
+// TODO: get rid of this random dumb include!
+       #include <common/state.qh>
+#endif
+
 .entity conveyor;
 
 .float race_penalty;
index 446c69de40f9d1da5732fd4863a362469062f39f..fa1be75112914be996dde63c5499328c79bab773 100644 (file)
@@ -1,4 +1,5 @@
 #include "banning.qh"
+#include <common/state.qh>
 #include <common/command/_mod.qh>
 #include "banning.qh"
 
index 7ccb2a30b72205e9c2471b1c54ccbd177c153ee3..d22073ef6c5d02e25e50263a0ac643c085372aee 100644 (file)
@@ -7,6 +7,7 @@
 #include <common/net_linked.qh>
 #include "../common/mapinfo.qh"
 #include "../common/playerstats.qh"
+#include <common/state.qh>
 #include "../common/util.qh"
 
 
index 90de79b8ae8c17896ceb1b91f678141b26e091a1..e337e9be478c8112ced3a6bbc55aae446a9dbd0c 100644 (file)
@@ -4,6 +4,7 @@
 #elif defined(SVQC)
     #include "defs.qh"
     #include "playerdemo.qh"
+       #include <common/state.qh>
 #endif
 
 .float playerdemo_fh;