mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
Fixed: A_CustomMissile's CMF_AIMDIRECTION's pitch calculations were also backwards.
This commit is contained in:
parent
c7cddcac0b
commit
b17bd65279
1 changed files with 1 additions and 1 deletions
|
@ -1524,7 +1524,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_CustomMissile)
|
||||||
Pitch += missile->Vel.Pitch();
|
Pitch += missile->Vel.Pitch();
|
||||||
}
|
}
|
||||||
missilespeed = fabs(Pitch.Cos() * missile->Speed);
|
missilespeed = fabs(Pitch.Cos() * missile->Speed);
|
||||||
missile->Vel.Z = Pitch.Sin() * missile->Speed;
|
missile->Vel.Z = -Pitch.Sin() * missile->Speed;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue