X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmonsters%2Fall.qc;h=9dc09ca394b47166bc4d717901d0aa17f6465664;hb=93d0294e57201226ce5b7c6df65e7d8512594c2d;hp=f5c973bd07bd10bb1aacbb32276dbdefb5f318ff;hpb=e9f30b97435c6afe3d6911f21e1f4fd1b97e93da;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/monsters/all.qc b/qcsrc/common/monsters/all.qc index f5c973bd0..9dc09ca39 100644 --- a/qcsrc/common/monsters/all.qc +++ b/qcsrc/common/monsters/all.qc @@ -1,21 +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 - -#endif