mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
Fixed cmf_aimdirection doubling up the spawn Z
This commit is contained in:
parent
2dff9a743c
commit
2034f4e49f
1 changed files with 1 additions and 1 deletions
|
@ -953,7 +953,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_CustomMissile)
|
|||
break;
|
||||
|
||||
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);
|
||||
self->SetXYZ(pos);
|
||||
|
||||
|
|
Loading…
Reference in a new issue