- 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:
parent
7f96531dc0
commit
1436f0a4fa
9 changed files with 64 additions and 41 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue