From 523f600dd419465e53b18d6af8a97e5597257289 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Wed, 13 Apr 2011 02:31:49 +0300 Subject: [PATCH] Remove the WR_DROP weapon_action, now that it's not needed any more. I don't know how safe that was, nor believe it has any real utility now. --- qcsrc/common/constants.qh | 1 - qcsrc/server/cl_weapons.qc | 2 -- 2 files changed, 3 deletions(-) diff --git a/qcsrc/common/constants.qh b/qcsrc/common/constants.qh index 6ace0dd1f..7b0ef3834 100644 --- a/qcsrc/common/constants.qh +++ b/qcsrc/common/constants.qh @@ -629,7 +629,6 @@ float WR_RESETPLAYER = 10; // (SVQC) does not need to do anything float WR_IMPACTEFFECT = 11; // (CSQC) impact effect float WR_SWITCHABLE = 12; // (CSQC) impact effect float WR_PLAYERDEATH = 13; // (SVQC) does not need to do anything -float WR_DROP = 14; // (SVQC) does not need to do anything float HUD_PANEL_WEAPONS = 0; diff --git a/qcsrc/server/cl_weapons.qc b/qcsrc/server/cl_weapons.qc index 4df6655b7..548f7d765 100644 --- a/qcsrc/server/cl_weapons.qc +++ b/qcsrc/server/cl_weapons.qc @@ -179,8 +179,6 @@ string W_ThrowNewWeapon(entity own, float wpn, float doreduce, vector org, vecto string s; var .float ammofield; - weapon_action(own.weapon, WR_DROP); - wep = spawn(); setorigin(wep, org); -- 2.39.2