- fixed: A_FireProjectile was still using the inverted pitch from A_FireCustomMissile it was supposed to correct.

This commit is contained in:
Christoph Oelckers 2017-03-13 10:03:42 +01:00
parent 2533ff3ffc
commit 822cda652b

View file

@ -1899,7 +1899,7 @@ DEFINE_ACTION_FUNCTION(AStateProvider, A_FireProjectile)
// Temporarily adjusts the 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);
self->Angles.Pitch = saved_player_pitch;