]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
set pickup_anyway on thrown weapons, we really want to remove these even if uselessly...
authorRudolf Polzer <divverent@alientrap.org>
Sat, 17 Dec 2011 16:58:31 +0000 (17:58 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 17 Dec 2011 16:58:31 +0000 (17:58 +0100)
qcsrc/server/cl_weapons.qc

index a7592b4cbb67d8e740dc635d791b9c3c75ce6b88..b1f6aabba106d9728c27f967dab608f6a365a0ad 100644 (file)
@@ -263,6 +263,7 @@ string W_ThrowNewWeapon(entity own, float wpn, float doreduce, vector org, vecto
                wep.glowmod = own.weaponentity_glowmod;
                wep.think = thrown_wep_think;
                wep.nextthink = time + 0.5;
+               wep.pickup_anyway = TRUE; // these are ALWAYS pickable
                return s;
        }
 }