- SW: Pitch-adjusted velocity for SpawnShell().

This commit is contained in:
Mitchell Richters 2022-10-13 11:48:36 +11:00 committed by Christoph Oelckers
parent 84dbd935d7
commit a012fd8f94

View file

@ -2198,7 +2198,7 @@ int SpawnShell(DSWActor* actor, int ShellNum)
if (actor->user.PlayerP)
{
actorNew->vel.Z = actor->user.PlayerP->horizon.horiz.Tan() * (HORIZ_MULTF / 3.);
setFreeAimVelocity(actorNew->vel.X, actorNew->vel.Z, actor->user.PlayerP->horizon.horiz, HORIZ_MULTF * (1. / 3.));
}
switch (actorNew->user.ID)