mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-15 09:11:59 +00:00
Use frameangle for rocket sneakers so they rotate around you when you spinout
This commit is contained in:
parent
6da700629f
commit
54f71d3dbf
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…
Reference in a new issue