X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmonsters%2Fmonster%2Fzombie.qc;h=d5011c7f35ca726b0e074244d871b985a881caa0;hb=cf5201f8f1ee6008289df50610a9fb8fa1bfbac6;hp=d9f866e9d145f205b74f8041a581c1d054250fc2;hpb=bd84ca6fa3aa22e2100db210e7a4d7de8442d71f;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/monsters/monster/zombie.qc b/qcsrc/common/monsters/monster/zombie.qc index d9f866e9d..d5011c7f3 100644 --- a/qcsrc/common/monsters/monster/zombie.qc +++ b/qcsrc/common/monsters/monster/zombie.qc @@ -192,7 +192,7 @@ METHOD(Zombie, mr_setup, bool(Zombie this, entity actor)) actor.spawnflags |= MONSTER_RESPAWN_DEATHPOINT; - actor.monster_loot = spawnfunc_item_health_medium; + actor.monster_loot = ITEM_HealthMedium; actor.monster_attackfunc = M_Zombie_Attack; actor.spawnshieldtime = actor.spawn_time; actor.respawntime = 0.2; @@ -203,10 +203,4 @@ METHOD(Zombie, mr_setup, bool(Zombie this, entity actor)) return true; } - -METHOD(Zombie, mr_precache, bool(Zombie this)) -{ - TC(Zombie, this); - return true; -} #endif