mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- 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:
parent
3d3f260137
commit
3c0c076226
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue