mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-26 15:31:03 +00:00
Wind/current uses drawangle
This commit is contained in:
parent
bdc564b989
commit
54dc82452c
1 changed files with 3 additions and 3 deletions
|
|
@ -9271,11 +9271,11 @@ void T_Pusher(pusher_t *p)
|
|||
|
||||
if (!demo.playback)
|
||||
{
|
||||
angle_t angle = thing->player->boostangle;
|
||||
angle_t angle = thing->player->drawangle;
|
||||
if (thing->angle - angle > ANGLE_180)
|
||||
thing->player->boostangle = angle - (angle - thing->angle) / 8;
|
||||
thing->player->drawangle = angle - (angle - thing->angle) / 8;
|
||||
else
|
||||
thing->player->boostangle = angle + (thing->angle - angle) / 8;
|
||||
thing->player->drawangle = angle + (thing->angle - angle) / 8;
|
||||
//P_SetPlayerAngle(thing->player, thing->angle);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue