]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cl_weapons.qc
Remove the WR_DROP weapon_action, now that it's not needed any more. I don't know...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_weapons.qc
index e605a0637cbd98b18c5420d7a744388ae829e228..548f7d76525c15a535bd24d3d459ebaa4fa7ced9 100644 (file)
@@ -282,6 +282,8 @@ void W_ThrowWeapon(vector velo, vector delta, float doreduce)
        w = self.weapon;
        if (w == 0)
                return; // just in case
+       if(self.weapon_forbidchange)
+               return;
        if(MUTATOR_CALLHOOK(ForbidThrowCurrentWeapon))
                return;
        if(!autocvar_g_weapon_throwable)