mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-30 05:00:46 +00:00
Make holding both turn keys freeze camera direction (broke in merge)
This commit is contained in:
parent
b22de48c03
commit
eac8732bc8
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…
Reference in a new issue