mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-22 05:21:11 +00:00
Use frameangle for rocket sneakers so they rotate around you when you spinout
This commit is contained in:
parent
ef44df0081
commit
e5e7bc4c11
1 changed files with 2 additions and 2 deletions
|
|
@ -3630,7 +3630,7 @@ static void K_MoveHeldObjects(player_t *player)
|
|||
|
||||
#if 1
|
||||
{
|
||||
angle_t input = player->mo->angle - cur->angle;
|
||||
angle_t input = player->frameangle - cur->angle;
|
||||
boolean invert = (input > ANGLE_180);
|
||||
if (invert)
|
||||
input = InvAngle(input);
|
||||
|
|
@ -3642,7 +3642,7 @@ static void K_MoveHeldObjects(player_t *player)
|
|||
cur->angle = cur->angle + input;
|
||||
}
|
||||
#else
|
||||
cur->angle = player->mo->angle;
|
||||
cur->angle = player->frameangle;
|
||||
#endif
|
||||
|
||||
angoffset = ANGLE_90 + (ANGLE_180 * num);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue