X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fitems%2Fitem%2Fhealth.qh;h=da431086e18587448cf697c8127390fd166134f0;hb=87915c38a892fa1464b8c077014705ac0ead8e18;hp=a64a37701d2abe9a097929e61f76b4c1c3c42b30;hpb=4e4a3363115b1ec692b87ed4109623937d76e326;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/items/item/health.qh b/qcsrc/common/items/item/health.qh index a64a37701..da431086e 100644 --- a/qcsrc/common/items/item/health.qh +++ b/qcsrc/common/items/item/health.qh @@ -34,6 +34,7 @@ void item_healthsmall_init(entity item) REGISTER_ITEM(HealthSmall, Health) { this.m_canonical_spawnfunc = "item_health_small"; #ifdef GAMEQC + this.spawnflags = ITEM_FLAG_NORMAL; this.m_model = MDL_HealthSmall_ITEM; this.m_sound = SND_HealthSmall; #endif @@ -71,6 +72,7 @@ void item_healthmedium_init(entity item) REGISTER_ITEM(HealthMedium, Health) { this.m_canonical_spawnfunc = "item_health_medium"; #ifdef GAMEQC + this.spawnflags = ITEM_FLAG_NORMAL; this.m_model = MDL_HealthMedium_ITEM; this.m_sound = SND_HealthMedium; #endif @@ -108,6 +110,7 @@ void item_healthbig_init(entity item) REGISTER_ITEM(HealthBig, Health) { this.m_canonical_spawnfunc = "item_health_big"; #ifdef GAMEQC + this.spawnflags = ITEM_FLAG_NORMAL; this.m_model = MDL_HealthBig_ITEM; this.m_sound = SND_HealthBig; #endif @@ -147,7 +150,7 @@ void item_healthmega_init(entity item) REGISTER_ITEM(HealthMega, Health) { this.m_canonical_spawnfunc = "item_health_mega"; #ifdef GAMEQC - this.spawnflags = ITEM_FLAG_OVERKILL; + this.spawnflags = ITEM_FLAG_NORMAL | ITEM_FLAG_OVERKILL; this.m_model = MDL_HealthMega_ITEM; this.m_sound = SND_HealthMega; #endif