]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/monsters/all.qh
Speed up bot goal tracing by using vlen2 (the result is never used outside of compari...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / monsters / all.qh
index 89b5591b4d5ff9ce3daf20aeb847a04d21726fb0..c9e5ad37ba6448ed85374378affde2e871a6197c 100644 (file)
@@ -1,7 +1,5 @@
 #pragma once
 
-#include "monster.qh"
-
 string M_Model(string m_mdl);
 
 REGISTRY(Monsters, BITS(5))
@@ -13,4 +11,6 @@ const int MON_FIRST = 1;
 #define MON_LAST (Monsters_COUNT - 1)
 #define REGISTER_MONSTER(id, inst) REGISTER(Monsters, MON, id, monsterid, inst)
 
+#include "monster.qh"
+
 REGISTER_MONSTER(Null, NEW(Monster));