]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/items/item/jetpack.qh
Add an item flag to mark items as resources (as opposed to items you collect in an...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / item / jetpack.qh
index e03c1ae6de983d5b3e33eccfd0023f7cc310aeb0..760033861a7db8377342bc6ff7dbd6bef1901b4b 100644 (file)
@@ -64,7 +64,7 @@ void ammo_fuel_init(Pickup this, entity item)
 REGISTER_ITEM(JetpackFuel, Ammo) {
     this.m_canonical_spawnfunc = "item_fuel";
 #ifdef GAMEQC
-       this.spawnflags = ITEM_FLAG_NORMAL;
+       this.spawnflags = ITEM_FLAG_NORMAL | ITEM_FLAG_RESOURCE;
     this.m_model    =   MDL_JetpackFuel_ITEM;
 #endif
     this.netname    =   "fuel";