Use frameangle for rocket sneakers so they rotate around you when you spinout

This commit is contained in:
TehRealSalt 2018-10-31 05:28:39 -04:00
parent 6da700629f
commit 54f71d3dbf

View file

@ -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);