]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/monsters/all.qc
Replace some ammo field references with resources
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / monsters / all.qc
index 2b15e4085734183ebe31053e327314d6bfc5f8e1..9dc09ca394b47166bc4d717901d0aa17f6465664 100644 (file)
@@ -1,26 +1,12 @@
-#ifndef MONSTERS_ALL_C
-#define MONSTERS_ALL_C
+#include "all.qh"
 
 string M_Model(string m_mdl)
 {
        string output = strcat("models/monsters/", m_mdl);
 #ifdef SVQC
        MUTATOR_CALLHOOK(MonsterModel, m_mdl, output);
-       return monster_model_output;
+       return M_ARGV(1, string);
 #else
        return output;
 #endif
 }
-
-#include "all.qh"
-
-#define IMPLEMENTATION
-#include "all.inc"
-#undef IMPLEMENTATION
-
-#ifdef SVQC
-#include "spawn.qc"
-#include "sv_monsters.qc"
-#endif
-
-#endif