mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 14:01:45 +00:00
- 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:
parent
bb689ba3c9
commit
0669fb675f
2 changed files with 8 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue