- Fixed: nofreeaim in P_SpawnPlayerMissile() was broken.

SVN r1971 (trunk)
This commit is contained in:
Randy Heit 2009-11-12 01:21:25 +00:00
commit 4fed0f8057
2 changed files with 5 additions and 0 deletions

View file

@ -5204,6 +5204,10 @@ AActor *P_SpawnPlayerMissile (AActor *source, fixed_t x, fixed_t y, fixed_t z,
if (linetarget == NULL)
{
an = angle;
if (nofreeaim || !level.IsFreelookAllowed())
{
pitch = 0;
}
}
if (pLineTarget) *pLineTarget = linetarget;