X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmonsters%2Fmonster%2Fzombie.qh;h=1572a95ea0d34bd346cd0988604dc0fb029b682e;hb=323105d51f8eb6dea47c063965be5e34ad57f987;hp=d3c94cd4546724e1597daa8e4ec8af8caa715be6;hpb=110554a235aafe14d1ae6dd6310a982a9af9e7fe;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/monsters/monster/zombie.qh b/qcsrc/common/monsters/monster/zombie.qh index d3c94cd45..1572a95ea 100644 --- a/qcsrc/common/monsters/monster/zombie.qh +++ b/qcsrc/common/monsters/monster/zombie.qh @@ -8,8 +8,8 @@ MODEL(MON_ZOMBIE, M_Model("zombie.dpm")); CLASS(Zombie, Monster) ATTRIB(Zombie, spawnflags, int, MONSTER_TYPE_UNDEAD | MON_FLAG_MELEE | MON_FLAG_RIDE); - ATTRIB(Zombie, mins, vector, '-18 -18 -25'); - ATTRIB(Zombie, maxs, vector, '18 18 47'); + ATTRIB(Zombie, m_mins, vector, '-18 -18 -25'); + ATTRIB(Zombie, m_maxs, vector, '18 18 47'); #ifdef GAMEQC ATTRIB(Zombie, m_model, Model, MDL_MON_ZOMBIE); #endif @@ -17,8 +17,4 @@ CLASS(Zombie, Monster) ATTRIB(Zombie, monster_name, string, _("Zombie")); ENDCLASS(Zombie) -REGISTER_MONSTER(ZOMBIE, NEW(Zombie)) { -#ifdef GAMEQC - this.mr_precache(this); -#endif -} +REGISTER_MONSTER(ZOMBIE, NEW(Zombie));