mirror of
https://github.com/DrBeef/Raze.git
synced 2025-03-22 17:21:00 +00:00
- SW: Pitch-adjusted velocity for InitRail()
.
This commit is contained in:
parent
283f8d208a
commit
8da5b096c0
1 changed files with 1 additions and 1 deletions
|
@ -13487,7 +13487,7 @@ int InitRail(PLAYER* pp)
|
|||
SetOwner(pp->actor, actorNew);
|
||||
actorNew->spr.scale = DVector2(0.8125, 0.8125);
|
||||
actorNew->spr.shade = -15;
|
||||
zvel = pp->horizon.horiz.Tan() * ((HORIZ_MULT + 17) * 0.5);
|
||||
setFreeAimVelocity(actorNew->vel.X, zvel, pp->horizon.horiz, (HORIZ_MULT + 17) * 0.5);
|
||||
|
||||
actorNew->user.RotNum = 5;
|
||||
NewStateGroup(actorNew, &sg_Rail[0]);
|
||||
|
|
Loading…
Reference in a new issue