X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fitems%2Fitem%2Fammo.qh;h=1d5bd87baceb116b7e241f9955e4e12b8f6d3ee9;hb=87915c38a892fa1464b8c077014705ac0ead8e18;hp=cc3cfe06419b39499374bb05bdc6747a6ee48a7f;hpb=4e4a3363115b1ec692b87ed4109623937d76e326;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/items/item/ammo.qh b/qcsrc/common/items/item/ammo.qh index cc3cfe064..1d5bd87ba 100644 --- a/qcsrc/common/items/item/ammo.qh +++ b/qcsrc/common/items/item/ammo.qh @@ -51,6 +51,7 @@ ENDCLASS(Bullets) REGISTER_ITEM(Bullets, Bullets) { this.m_canonical_spawnfunc = "item_bullets"; #ifdef GAMEQC + this.spawnflags = ITEM_FLAG_NORMAL; this.m_model = MDL_Bullets_ITEM; #endif this.netname = "bullets"; @@ -80,6 +81,7 @@ void ammo_cells_init(entity item) REGISTER_ITEM(Cells, Ammo) { this.m_canonical_spawnfunc = "item_cells"; #ifdef GAMEQC + this.spawnflags = ITEM_FLAG_NORMAL; this.m_model = MDL_Cells_ITEM; #endif this.netname = "cells"; @@ -109,6 +111,7 @@ void ammo_plasma_init(entity item) REGISTER_ITEM(Plasma, Ammo) { this.m_canonical_spawnfunc = "item_plasma"; #ifdef GAMEQC + this.spawnflags = ITEM_FLAG_NORMAL; this.m_model = MDL_Plasma_ITEM; #endif this.netname = "plasma"; @@ -138,6 +141,7 @@ void ammo_rockets_init(entity item) REGISTER_ITEM(Rockets, Ammo) { this.m_canonical_spawnfunc = "item_rockets"; #ifdef GAMEQC + this.spawnflags = ITEM_FLAG_NORMAL; this.m_model = MDL_Rockets_ITEM; #endif this.netname = "rockets"; @@ -171,6 +175,7 @@ ENDCLASS(Shells) REGISTER_ITEM(Shells, Shells) { this.m_canonical_spawnfunc = "item_shells"; #ifdef GAMEQC + this.spawnflags = ITEM_FLAG_NORMAL; this.m_model = MDL_Shells_ITEM; #endif this.netname = "shells";