- Fixed: P_BulletSlope() did not return the linetarget. This effected

the Sigil, A_JumpIfCloser, and A_JumpIfTargetInLOS.


SVN r1048 (trunk)
This commit is contained in:
Randy Heit 2008-06-26 17:25:55 +00:00
parent bb689ba3c9
commit 0669fb675f
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,7 @@
June 26, 2008
- Fixed: P_BulletSlope() did not return the linetarget. This effected
the Sigil, A_JumpIfCloser, and A_JumpIfTargetInLOS.
June 25, 2008
- Fixed all the new warnings tossed out by GCC 4.3.

View file

@ -652,6 +652,10 @@ angle_t P_BulletSlope (AActor *mo, AActor **pLineTarget)
break;
}
} while (linetarget == NULL && --i >= 0);
if (pLineTarget != NULL)
{
*pLineTarget = linetarget;
}
return pitch;
}