Corrected thrust angle of all trace-based damages.
This commit is contained in:
parent
f5181637b5
commit
729563f8ae
6 changed files with 13 additions and 13 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue