mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- fixed: AimBulletMissile used negative pitch to calculate the projectile's trajectory, presumably because A_Face calculated it wrong in recent devbuilds.
This commit is contained in:
parent
d4c0ee9e43
commit
b807f50bde
1 changed files with 1 additions and 1 deletions
|
@ -1833,7 +1833,7 @@ static void AimBulletMissile(AActor *proj, AActor *puff, int flags, bool temp, b
|
||||||
// Aim for the base of the puff as that's where blood puffs will spawn... roughly.
|
// Aim for the base of the puff as that's where blood puffs will spawn... roughly.
|
||||||
|
|
||||||
A_Face(proj, puff, 0., 0., 0., 0., 1);
|
A_Face(proj, puff, 0., 0., 0., 0., 1);
|
||||||
proj->Vel3DFromAngle(-proj->Angles.Pitch, proj->Speed);
|
proj->Vel3DFromAngle(proj->Angles.Pitch, proj->Speed);
|
||||||
|
|
||||||
if (!temp)
|
if (!temp)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue