- Fixed: It was no longer possible to talk to non-shootable NPCs. Also took

the opportunity to merge the various boolean parameters to P_AimLineAttack into one flag parameter.



SVN r2254 (trunk)
This commit is contained in:
Christoph Oelckers 2010-03-28 10:51:35 +00:00
commit 1436f0a4fa
9 changed files with 64 additions and 41 deletions

View file

@ -77,7 +77,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_FireConePL1)
for (i = 0; i < 16; i++)
{
angle = self->angle+i*(ANG45/16);
slope = P_AimLineAttack (self, angle, MELEERANGE, &linetarget, 0, false, true);
slope = P_AimLineAttack (self, angle, MELEERANGE, &linetarget, 0, ALF_CHECK3D);
if (linetarget)
{
P_DamageMobj (linetarget, self, self, damage, NAME_Ice);