- 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 ac30b268e9
commit 2f420d65cd

View file

@ -1898,7 +1898,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;