mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-10 00:34:32 +00:00
K_UpdateSliptideZipIndicator: use K_MomentumAngle
This commit is contained in:
parent
312e847151
commit
54dd8b0252
1 changed files with 1 additions and 1 deletions
|
|
@ -4086,7 +4086,7 @@ void K_UpdateSliptideZipIndicator(player_t *player)
|
|||
}
|
||||
|
||||
mobj = player->sliptideZipIndicator;
|
||||
angle_t momentumAngle = R_PointToAngle2(0, 0, player->mo->momx, player->mo->momy);
|
||||
angle_t momentumAngle = K_MomentumAngle(player->mo);
|
||||
|
||||
P_MoveOrigin(mobj, player->mo->x - FixedMul(40*mapobjectscale, FINECOSINE(momentumAngle >> ANGLETOFINESHIFT)),
|
||||
player->mo->y - FixedMul(40*mapobjectscale, FINESINE(momentumAngle >> ANGLETOFINESHIFT)),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue