From: Samual Lenks Date: Tue, 31 Dec 2013 12:30:42 +0000 (-0500) Subject: fix "hack" :P X-Git-Tag: xonotic-v0.8.0~152^2~198 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e021572ab5f68fc459656d1583c2b8fdb2616783;p=xonotic%2Fxonotic-data.pk3dir.git fix "hack" :P --- diff --git a/qcsrc/server/t_items.qh b/qcsrc/server/t_items.qh index c787d631a..fcf1cb4ee 100644 --- a/qcsrc/server/t_items.qh +++ b/qcsrc/server/t_items.qh @@ -80,6 +80,9 @@ void Item_FindTeam(); // TODO: perhaps nice special effect? void RemoveItem(void); // WEAPONTODO +float ItemSend(entity to, float sf); +void ItemUpdate(entity item); + // pickup evaluation functions // these functions decide how desirable an item is to the bots diff --git a/qcsrc/server/weapons/csqcprojectile.qc b/qcsrc/server/weapons/csqcprojectile.qc index 4d208ebda..11daf4cc2 100644 --- a/qcsrc/server/weapons/csqcprojectile.qc +++ b/qcsrc/server/weapons/csqcprojectile.qc @@ -85,10 +85,6 @@ void CSQCProjectile(entity e, float clientanimate, float type, float docull) e.csqcprojectile_type = type; } -// FIXME HACK -float ItemSend(entity to, float sf); -void ItemUpdate(entity item); -// END HACK void UpdateCSQCProjectile(entity e) { if(e.SendEntity == CSQCProjectile_SendEntity)