X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmonsters%2Fall.qc;h=9dc09ca394b47166bc4d717901d0aa17f6465664;hb=996bb618198837cab36c7da79b0d543a0ae4e120;hp=2b15e4085734183ebe31053e327314d6bfc5f8e1;hpb=7bcb3a89b3271e018da4d92437dc5ba125ea8698;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/monsters/all.qc b/qcsrc/common/monsters/all.qc index 2b15e4085..9dc09ca39 100644 --- a/qcsrc/common/monsters/all.qc +++ b/qcsrc/common/monsters/all.qc @@ -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