mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-26 01:42:36 +00:00
Fix upward wind harlem shaking your camera
This has not worked for an unknown period of time, but in this branch it was broken enough that it spun your turning intent out of control.
This commit is contained in:
parent
dfafb95cea
commit
95317d635d
1 changed files with 5 additions and 3 deletions
|
|
@ -9100,15 +9100,17 @@ void T_Pusher(pusher_t *p)
|
|||
thing->player->carry = CR_SLIDING;
|
||||
thing->angle = R_PointToAngle2(0, 0, xspeed, yspeed);
|
||||
|
||||
|
||||
if (!demo.playback)
|
||||
{
|
||||
angle_t angle = thing->player->angleturn;
|
||||
angle_t angle = thing->player->boostangle;
|
||||
if (thing->angle - angle > ANGLE_180)
|
||||
P_SetPlayerAngle(thing->player, angle - (angle - thing->angle) / 8);
|
||||
thing->player->boostangle = angle - (angle - thing->angle) / 8;
|
||||
else
|
||||
P_SetPlayerAngle(thing->player, angle + (thing->angle - angle) / 8);
|
||||
thing->player->boostangle = angle + (thing->angle - angle) / 8;
|
||||
//P_SetPlayerAngle(thing->player, thing->angle);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (p->exclusive)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue