- 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
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ class StateProvider : Inventory
// Temporarily adjusts the pitch
double saved_player_pitch = self.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;
// automatic handling of seeker missiles