]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/monsters/monster/knight.qc
Properly fix monsters thinking they're fish
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / monsters / monster / knight.qc
index cb7491cef2dc064d7fc330cc95b073cc0a9a6d40..bc2a0e950d7d2aa72c9670e45c0a5e7ca27f73fb 100644 (file)
@@ -2,6 +2,7 @@
 REGISTER_MONSTER(
 /* MON_##id   */ KNIGHT,
 /* function   */ m_knight,
+/* spawnflags */ MONSTER_SIZE_BROKEN,
 /* mins,maxs  */ '-20 -20 -32', '20 20 41',
 /* model      */ "hknight.mdl",
 /* netname    */ "knight",
@@ -262,7 +263,7 @@ void spawnfunc_monster_knight()
        if(Monster_CheckAppearFlags(self))
                return;
        
-       if not(monster_initialize(MON_KNIGHT, FALSE, MONSTER_SIZE_BROKEN)) { remove(self); return; }
+       if not(monster_initialize(MON_KNIGHT, FALSE)) { remove(self); return; }
 }
 
 // compatibility with old spawns