]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/items/inventory.qh
Remove remove()
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / inventory.qh
index 934271059ba55ed6cc464e9c7122cdd970bc65eb..c7f602e653835d6b519843bea740acc2ca0caf10 100644 (file)
@@ -71,7 +71,7 @@ void Inventory_new(entity e)
     inv.drawonlytoclient = e;
     Net_LinkEntity((inv.owner = e).inventory = inv, false, 0, Inventory_Send);
 }
-void Inventory_delete(entity e) { remove(e.inventory.inventory); remove(e.inventory); }
+void Inventory_delete(entity e) { delete(e.inventory.inventory); delete(e.inventory); }
 void Inventory_update(entity e) { e.inventory.SendFlags = 0xFFFFFF; }
 #endif