]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cl_impulse.qc
Clean up self uses in weapon dropping code, also switch EXACTTRIGGER_INIT over to...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_impulse.qc
index 14779525fdaa53cfe83c95bde9cbc04be2d4daa5..3aa9cfeb7fa797ce0fa086b9030dffa2f31c9628 100644 (file)
@@ -248,7 +248,7 @@ IMPULSE(weapon_drop)
 {
        if (this.vehicle) return;
        if (IS_DEAD(this)) return;
-       W_ThrowWeapon(W_CalculateProjectileVelocity(this.velocity, v_forward * 750, false), '0 0 0', true);
+       W_ThrowWeapon(this, W_CalculateProjectileVelocity(this.velocity, v_forward * 750, false), '0 0 0', true);
 }
 
 IMPULSE(weapon_reload)