- removed extraneous parameter in SpawnPlayerMissile call in A_FireProjectile.

The native variant has a MissileActor out parameter in this place, but in ZScript that's a secondary return value.
This commit is contained in:
Christoph Oelckers 2019-02-09 09:25:29 +01:00
parent 3d3f260137
commit 3c0c076226

View file

@ -217,7 +217,7 @@ class StateProvider : Inventory
// Temporarily adjusts the pitch // Temporarily adjusts the pitch
double saved_player_pitch = self.Pitch; double saved_player_pitch = self.Pitch;
self.Pitch += pitch; self.Pitch += pitch;
let misl = SpawnPlayerMissile (missiletype, shootangle, ofs.X, ofs.Y, spawnheight, t, NULL, false, (flags & FPF_NOAUTOAIM) != 0); let misl = SpawnPlayerMissile (missiletype, shootangle, ofs.X, ofs.Y, spawnheight, t, false, (flags & FPF_NOAUTOAIM) != 0);
self.Pitch = saved_player_pitch; self.Pitch = saved_player_pitch;
// automatic handling of seeker missiles // automatic handling of seeker missiles