]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
no weapon drops in CTS!
authorFruitieX <fruitiex@gmail.com>
Sat, 11 Dec 2010 18:40:08 +0000 (20:40 +0200)
committerFruitieX <fruitiex@gmail.com>
Sat, 11 Dec 2010 18:40:08 +0000 (20:40 +0200)
qcsrc/server/cl_weapons.qc

index db79588cf503959ac3dd5e43ea3da31793ce55b9..cfe01269e01c719d818b38e9be706ed67b377788 100644 (file)
@@ -275,6 +275,8 @@ void W_ThrowWeapon(vector velo, vector delta, float doreduce)
                return;
        if (g_ca)
                return;
+    if (g_cts)
+        return;
        if(!autocvar_g_weapon_throwable)
                return;
        if(autocvar_g_weapon_stay == 1)