mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 20:43:15 +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();
|
||||
}
|
||||
missilespeed = fabs(Pitch.Cos() * missile->Speed);
|
||||
missile->Vel.Z = Pitch.Sin() * missile->Speed;
|
||||
missile->Vel.Z = -Pitch.Sin() * missile->Speed;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue