]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove the WR_DROP weapon_action, now that it's not needed any more. I don't know...
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 12 Apr 2011 23:31:49 +0000 (02:31 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 12 Apr 2011 23:31:49 +0000 (02:31 +0300)
qcsrc/common/constants.qh
qcsrc/server/cl_weapons.qc

index 6ace0dd1f0953278d51110adc364d1b20fe5316e..7b0ef3834257784a8d379bcd971218ad1f4410ca 100644 (file)
@@ -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;
index 4df6655b7caae298981acf13ea09ed8b14b9b215..548f7d76525c15a535bd24d3d459ebaa4fa7ced9 100644 (file)
@@ -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);