mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-13 07:57:52 +00:00
Merge pull request #501 from Edward850/MF5_NOINTERACTION-velz-fix
Fixed cmf_aimdirection doubling up the spawn Z
This commit is contained in:
commit
8a9df31db9
1 changed files with 1 additions and 1 deletions
|
@ -953,7 +953,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_CustomMissile)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 2:
|
case 2:
|
||||||
self->SetXYZ(self->Vec3Offset(x, y, self->Z()));
|
self->SetXYZ(self->Vec3Offset(x, y, 0));
|
||||||
missile = P_SpawnMissileAngleZSpeed(self, self->Z() + self->GetBobOffset() + spawnheight, ti, self->angle, 0, GetDefaultByType(ti)->Speed, self, false);
|
missile = P_SpawnMissileAngleZSpeed(self, self->Z() + self->GetBobOffset() + spawnheight, ti, self->angle, 0, GetDefaultByType(ti)->Speed, self, false);
|
||||||
self->SetXYZ(pos);
|
self->SetXYZ(pos);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue