From: Lyberta Date: Sun, 8 Oct 2017 14:36:12 +0000 (+0300) Subject: Dropped weapons now have loot flag set. X-Git-Tag: xonotic-v0.8.5~2426^2~33 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3eaeaa12aacf635a42ae4c55ed5d65c6c789022b;p=xonotic%2Fxonotic-data.pk3dir.git Dropped weapons now have loot flag set. --- diff --git a/qcsrc/server/weapons/throwing.qc b/qcsrc/server/weapons/throwing.qc index 52bf4a607..09241bc24 100644 --- a/qcsrc/server/weapons/throwing.qc +++ b/qcsrc/server/weapons/throwing.qc @@ -41,7 +41,7 @@ string W_ThrowNewWeapon(entity own, float wpn, float doreduce, vector org, vecto int ammotype = info.ammo_type; entity wep = new(droppedweapon); - + Item_SetLoot(wep, true); setorigin(wep, org); wep.velocity = velo; wep.owner = wep.enemy = own;