From: Mircea Kitsune Date: Wed, 4 Apr 2012 19:03:45 +0000 (+0300) Subject: Only return map items to spawn origin, not dropped ones X-Git-Tag: xonotic-v0.7.0~111^2~9 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3296fbe8b2081a5524b45e436b7dc554a396abc4;p=xonotic%2Fxonotic-data.pk3dir.git Only return map items to spawn origin, not dropped ones --- diff --git a/qcsrc/server/mutators/mutator_physical_weapons.qc b/qcsrc/server/mutators/mutator_physical_weapons.qc index 9d83e9a06b..71d2f753d4 100644 --- a/qcsrc/server/mutators/mutator_physical_weapons.qc +++ b/qcsrc/server/mutators/mutator_physical_weapons.qc @@ -37,6 +37,7 @@ void thrown_wep_ode_think() void thrown_wep_ode_touch() { + if(!self.cnt) // not for dropped items if (ITEM_TOUCH_NEEDKILL()) { setorigin(self, self.spawn_origin);