]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/monsters/monsters.qh
Remove includes from most headers
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / monsters / monsters.qh
index 18d06ada4c7ee50c7ffa639cd872114699ec9741..c21b237bfd2b255a037c6a89fd392d4ad9e7bc93 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef MONSTERS_H
+#define MONSTERS_H
+
 // monster requests
 const int MR_SETUP = 1; // (SERVER) setup monster data
 const int MR_THINK = 2; // (SERVER) logic to run every frame
@@ -23,7 +26,7 @@ const int MON_FLAG_MELEE = 1024;
 .float(float) monster_func; // m_...
 .string mdl; // currently a copy of the model
 .string model; // full name of model
-.float spawnflags;
+.int spawnflags;
 .vector mins, maxs; // monster hitbox size
 
 // other useful macros
@@ -65,3 +68,4 @@ int MON_LAST;
 
 #undef REGISTER_MONSTER
 ACCUMULATE_FUNCTION(RegisterMonsters, register_monsters_done);
+#endif
\ No newline at end of file