mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
- Fixed: nofreeaim in P_SpawnPlayerMissile() was broken.
SVN r1971 (trunk)
This commit is contained in:
parent
281b2f5637
commit
4fed0f8057
2 changed files with 5 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
November 11, 2009
|
November 11, 2009
|
||||||
|
- Fixed: nofreeaim in P_SpawnPlayerMissile() was broken.
|
||||||
- Fixed: MBF sky Y offsets were ignored. X offsets should also be applied to
|
- Fixed: MBF sky Y offsets were ignored. X offsets should also be applied to
|
||||||
the sky cylinder, not the screen like Hexen scrolling skies.
|
the sky cylinder, not the screen like Hexen scrolling skies.
|
||||||
|
|
||||||
|
|
|
@ -5204,6 +5204,10 @@ AActor *P_SpawnPlayerMissile (AActor *source, fixed_t x, fixed_t y, fixed_t z,
|
||||||
if (linetarget == NULL)
|
if (linetarget == NULL)
|
||||||
{
|
{
|
||||||
an = angle;
|
an = angle;
|
||||||
|
if (nofreeaim || !level.IsFreelookAllowed())
|
||||||
|
{
|
||||||
|
pitch = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (pLineTarget) *pLineTarget = linetarget;
|
if (pLineTarget) *pLineTarget = linetarget;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue