From: Mircea Kitsune Date: Wed, 4 Apr 2012 11:03:22 +0000 (+0300) Subject: Disable rotation of the physical weapon. For some reason, the trigger weapon still... X-Git-Tag: xonotic-v0.7.0~111^2~23 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b828d257f0da8ec2c783cc82617d914b9c8f5459;p=xonotic%2Fxonotic-data.pk3dir.git 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 --- 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;