From b828d257f0da8ec2c783cc82617d914b9c8f5459 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Wed, 4 Apr 2012 14:03:22 +0300 Subject: [PATCH] Disable rotation of the physical weapon. For some reason, the trigger weapon still shows. I REALLY need to find a way to use only the dropped weapon entity, and make that physical instead --- qcsrc/server/cl_weapons.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/server/cl_weapons.qc b/qcsrc/server/cl_weapons.qc index 9e2468db0a..938228ff4d 100644 --- a/qcsrc/server/cl_weapons.qc +++ b/qcsrc/server/cl_weapons.qc @@ -332,6 +332,7 @@ string W_ThrowNewWeapon(entity own, float wpn, float doreduce, vector org, vecto wep2.colormap = wep.colormap; wep2.glowmod = wep.glowmod; wep2.damageforcescale = autocvar_physics_ode_droppedweapon_damageforcescale; + wep2.effects |= EF_NOMODELFLAGS; // disable the spinning wep2.think = thrown_wep_ode_think; wep2.nextthink = time; -- 2.39.2