mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-21 13:01:18 +00:00
Make holding both turn keys freeze camera direction (broke in merge)
This commit is contained in:
parent
77ba835f4f
commit
f2b6f3fd6e
1 changed files with 2 additions and 1 deletions
|
|
@ -1291,7 +1291,8 @@ void G_BuildTiccmd(ticcmd_t *cmd, INT32 realtics, UINT8 ssplayer)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (turnright)
|
||||
if (turnright && turnleft);
|
||||
else if (turnright)
|
||||
cmd->angleturn = (INT16)(cmd->angleturn - ((angleturn[tspeed] * cv_cam_turnmultiplier.value)>>FRACBITS));
|
||||
else if (turnleft)
|
||||
cmd->angleturn = (INT16)(cmd->angleturn + ((angleturn[tspeed] * cv_cam_turnmultiplier.value)>>FRACBITS));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue