]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Only apply y angle to dropped consumables
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 19 Nov 2011 13:15:51 +0000 (15:15 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 19 Nov 2011 13:15:51 +0000 (15:15 +0200)
data/qcsrc/server/t_items.qc

index dc7c0f4a1de812c90113bc884b2f8ec0f26b956f..1d111d0177e7e64de6dd69e6d9a52c29f71061a5 100644 (file)
@@ -337,7 +337,7 @@ void Item_DroppedConsumable_Spawn(entity e)
        item.colormod = e.colormod;\r
 \r
        setorigin(item, e.predator.origin);\r
-       item.angles = e.predator.angles;\r
+       item.angles_y = e.predator.angles_y;\r
        makevectors(e.predator.v_angle);\r
        item.velocity = v_forward * cvar("g_balance_vore_regurgitate_force");\r
        e.predator.velocity += -v_forward * cvar("g_balance_vore_regurgitate_predatorforce");\r