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

This commit is contained in:
Mitchell Richters 2022-10-11 17:13:09 +11:00 committed by Christoph Oelckers
parent db2f9b9b13
commit c8f4e8dab2

View file

@ -16811,7 +16811,7 @@ int InitMine(PLAYER* pp)
actorNew->spr.scale = DVector2(0.5, 0.5);
actorNew->spr.shade = -15;
actorNew->clipdist = 8;
actorNew->vel.Z = pp->horizon.horiz.Tan() * HORIZ_MULTF;
setFreeAimVelocity(actorNew->vel.X, actorNew->vel.Z, pp->horizon.horiz, HORIZ_MULTF);
actorNew->user.WeaponNum = actor->user.WeaponNum;
actorNew->user.Radius = 200;
actorNew->user.ceiling_dist = (5);