Permalink
Browse files

- removed extraneous parameter in SpawnPlayerMissile call in A_FirePr…

…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 3c0c0762264523891f6e9786141bc8129224d1b0
Showing with 1 addition and 1 deletion.
  1. +1 −1 wadsrc/static/zscript/inventory/stateprovider.txt
@@ -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

0 comments on commit 3c0c076

Please sign in to comment.