From 158dd320ddbbe7466a33be9ee3561d2a91e4cf10 Mon Sep 17 00:00:00 2001 From: Freddy Date: Sat, 5 Nov 2016 23:43:47 +0100 Subject: [PATCH] Change item_health_large to item_health_big --- qcsrc/common/monsters/monster/mage.qc | 4 ++-- qcsrc/common/t_items.qc | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/qcsrc/common/monsters/monster/mage.qc b/qcsrc/common/monsters/monster/mage.qc index 71bca32c6..748f9a9bd 100644 --- a/qcsrc/common/monsters/monster/mage.qc +++ b/qcsrc/common/monsters/monster/mage.qc @@ -451,7 +451,7 @@ METHOD(Mage, mr_anim, bool(Mage this, entity actor)) #endif #ifdef SVQC .float speed; -spawnfunc(item_health_large); +spawnfunc(item_health_big); METHOD(Mage, mr_setup, bool(Mage this, entity actor)) { TC(Mage, this); @@ -461,7 +461,7 @@ METHOD(Mage, mr_setup, bool(Mage this, entity actor)) if(!actor.stopspeed) { actor.stopspeed = (autocvar_g_monster_mage_speed_stop); } if(!actor.damageforcescale) { actor.damageforcescale = (autocvar_g_monster_mage_damageforcescale); } - actor.monster_loot = spawnfunc_item_health_large; + actor.monster_loot = spawnfunc_item_health_big; actor.monster_attackfunc = M_Mage_Attack; return true; diff --git a/qcsrc/common/t_items.qc b/qcsrc/common/t_items.qc index 24ac65358..b96747f35 100644 --- a/qcsrc/common/t_items.qc +++ b/qcsrc/common/t_items.qc @@ -1381,7 +1381,7 @@ spawnfunc(item_health_medium) StartItem(this, ITEM_HealthMedium); } -spawnfunc(item_health_large) +spawnfunc(item_health_big) { if(!this.max_health) this.max_health = g_pickup_healthbig_max; @@ -1409,6 +1409,7 @@ spawnfunc(item_armor25) { spawnfunc_item_armor_mega(this); } spawnfunc(item_armor_large) { spawnfunc_item_armor_mega(this); } spawnfunc(item_health1) { spawnfunc_item_health_small(this); } spawnfunc(item_health25) { spawnfunc_item_health_medium(this); } +spawnfunc(item_health_large) { spawnfunc_item_health_big(this); } spawnfunc(item_health100) { spawnfunc_item_health_mega(this); } spawnfunc(item_strength) -- 2.39.2