mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
P_DemoCameraMovement: drift button resets vertical angle
This commit is contained in:
parent
ff447a212a
commit
697e42cecd
1 changed files with 1 additions and 1 deletions
|
|
@ -3002,7 +3002,7 @@ void P_DemoCameraMovement(camera_t *cam)
|
||||||
// forward/back will have a slope. So, as long as democam
|
// forward/back will have a slope. So, as long as democam
|
||||||
// controls haven't been used to alter the vertical angle,
|
// controls haven't been used to alter the vertical angle,
|
||||||
// slowly reset it to flat.
|
// slowly reset it to flat.
|
||||||
if (democam.reset_aiming && moving)
|
if ((democam.reset_aiming && moving) || (cmd->buttons & BT_DRIFT))
|
||||||
{
|
{
|
||||||
INT32 aiming = cam->aiming;
|
INT32 aiming = cam->aiming;
|
||||||
INT32 smooth = FixedMul(ANGLE_11hh / 4, FCOS(cam->aiming));
|
INT32 smooth = FixedMul(ANGLE_11hh / 4, FCOS(cam->aiming));
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue