Corrected thrust angle of all trace-based damages.

This commit is contained in:
Marisa the Magician 2018-06-06 00:47:10 +02:00
commit 729563f8ae
6 changed files with 13 additions and 13 deletions

View file

@ -89,8 +89,8 @@ Class SniperRifle : UTWeapon
{
int dmg = Random[Sniper](45,60);
if ( d.HitLocation.z >= (d.HitActor.pos.z+d.HitActor.height*0.8) )
dmg = d.HitActor.DamageMobj(invoker,self,dmg+70,'Decapitated');
else dmg = d.HitActor.DamageMobj(invoker,self,dmg,'shot');
dmg = d.HitActor.DamageMobj(invoker,self,dmg+70,'Decapitated',DMG_USEANGLE,atan2(d.HitDir.y,d.HitDir.x));
else dmg = d.HitActor.DamageMobj(invoker,self,dmg,'shot',DMG_USEANGLE,atan2(d.HitDir.y,d.HitDir.x));
if ( d.HitActor.bNOBLOOD )
{
let p = Spawn("BulletImpact",d.HitLocation);