Switch true to LAF_ISMELEEATTACK inside A_Punch's call to P_LineAttack()

This commit is contained in:
Randy Heit 2013-09-18 21:22:21 -05:00
parent 0cf68af7d2
commit d05cdb79ef
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_Punch)
angle += pr_punch.Random2() << 18;
pitch = P_AimLineAttack (self, angle, MELEERANGE, &linetarget);
P_LineAttack (self, angle, MELEERANGE, pitch, damage, NAME_Melee, NAME_BulletPuff, true, &linetarget);
P_LineAttack (self, angle, MELEERANGE, pitch, damage, NAME_Melee, NAME_BulletPuff, LAF_ISMELEEATTACK, &linetarget);
// turn to face target
if (linetarget)