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

@ -306,7 +306,7 @@ Class Enforcer : UTWeapon replaces Pistol
if ( d.HitType == TRACE_HitActor )
{
int dmg = Random[Enforcer](15,20);
dmg = d.HitActor.DamageMobj(invoker,self,dmg,'shot');
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);