Merge pull request #501 from Edward850/MF5_NOINTERACTION-velz-fix

Fixed cmf_aimdirection doubling up the spawn Z
This commit is contained in:
coelckers 2016-01-22 12:32:08 +01:00
commit 8a9df31db9

View file

@ -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);