mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-01-31 13:00:59 +00:00
- fixed: A_FireProjectile was still using the inverted pitch from A_FireCustomMissile it was supposed to correct.
This commit is contained in:
parent
2533ff3ffc
commit
822cda652b
1 changed files with 1 additions and 1 deletions
|
@ -1899,7 +1899,7 @@ DEFINE_ACTION_FUNCTION(AStateProvider, A_FireProjectile)
|
||||||
|
|
||||||
// Temporarily adjusts the pitch
|
// Temporarily adjusts the pitch
|
||||||
DAngle saved_player_pitch = self->Angles.Pitch;
|
DAngle saved_player_pitch = self->Angles.Pitch;
|
||||||
self->Angles.Pitch -= pitch;
|
self->Angles.Pitch += pitch;
|
||||||
AActor * misl=P_SpawnPlayerMissile (self, ofs.X, ofs.Y, spawnheight, ti, shootangle, &t, NULL, false, (flags & FPF_NOAUTOAIM) != 0);
|
AActor * misl=P_SpawnPlayerMissile (self, ofs.X, ofs.Y, spawnheight, ti, shootangle, &t, NULL, false, (flags & FPF_NOAUTOAIM) != 0);
|
||||||
self->Angles.Pitch = saved_player_pitch;
|
self->Angles.Pitch = saved_player_pitch;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue