]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Disable rotation of the physical weapon. For some reason, the trigger weapon still...
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 4 Apr 2012 11:03:22 +0000 (14:03 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Wed, 4 Apr 2012 11:03:22 +0000 (14:03 +0300)
qcsrc/server/cl_weapons.qc

index 9e2468db0a486ba56ec76aaacda6c0f0f5ab14ec..938228ff4d4a39eb12aaf72cd8bbd0ab9ed3c0c1 100644 (file)
@@ -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;