X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmonsters%2Fall.qh;h=c9e5ad37ba6448ed85374378affde2e871a6197c;hb=7c8f38e643c87bf9c02c2265ca43714c57ebe331;hp=1e23f3287940218b3c8a882033d3f12b42c88fd2;hpb=834fed09016056ff2cd32d1980f0719d09c403a2;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/monsters/all.qh b/qcsrc/common/monsters/all.qh index 1e23f3287..c9e5ad37b 100644 --- a/qcsrc/common/monsters/all.qh +++ b/qcsrc/common/monsters/all.qh @@ -1,7 +1,4 @@ -#ifndef MONSTERS_ALL_H -#define MONSTERS_ALL_H - -#include "monster.qh" +#pragma once string M_Model(string m_mdl); @@ -14,9 +11,6 @@ const int MON_FIRST = 1; #define MON_LAST (Monsters_COUNT - 1) #define REGISTER_MONSTER(id, inst) REGISTER(Monsters, MON, id, monsterid, inst) -REGISTER_MONSTER(Null, NEW(Monster)); - - -#include "monster/_mod.inc" +#include "monster.qh" -#endif +REGISTER_MONSTER(Null, NEW(Monster));