Skip to content

Commit

Permalink
- removed extraneous parameter in SpawnPlayerMissile call in A_FirePr…
Browse files Browse the repository at this point in the history
…ojectile.

The native variant has a MissileActor out parameter in this place, but in ZScript that's a secondary return value.
  • Loading branch information
coelckers committed Feb 9, 2019
1 parent 3d3f260 commit 3c0c076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wadsrc/static/zscript/inventory/stateprovider.txt
Expand Up @@ -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
Expand Down

0 comments on commit 3c0c076

Please sign in to comment.