- Fixed: P_LineAttack() calls that use damage type 'None' should use 'Hitscan' instead.

SVN r3694 (trunk)
This commit is contained in:
Randy Heit 2012-06-17 03:18:26 +00:00
commit b982482f74
10 changed files with 17 additions and 17 deletions

View file

@ -3747,7 +3747,7 @@ void FParser::SF_LineAttack()
angle = (intvalue(t_argv[1]) * (ANG45 / 45));
slope = P_AimLineAttack(mo, angle, MISSILERANGE);
P_LineAttack(mo, angle, MISSILERANGE, slope, damage, NAME_None, NAME_BulletPuff);
P_LineAttack(mo, angle, MISSILERANGE, slope, damage, NAME_Hitscan, NAME_BulletPuff);
}
}