mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-17 02:01:35 +00:00
Fix smoothing into input-based camera rotation
This commit is contained in:
parent
27996ada04
commit
3735134948
1 changed files with 1 additions and 1 deletions
|
@ -1390,7 +1390,7 @@ void G_BuildTiccmd(ticcmd_t *cmd, INT32 realtics, UINT8 ssplayer)
|
|||
fixed_t camadjustfactor = cv_cam_turnfacinginput[forplayer].value; //@TODO cvar
|
||||
|
||||
if (camadjustfactor)
|
||||
*myangle -= cmd->sidemove * min(20, player->speed / (FRACUNIT/7)) * camadjustfactor;
|
||||
*myangle -= cmd->sidemove * min(20, player->speed / FRACUNIT) * camadjustfactor;
|
||||
}
|
||||
|
||||
if (abilitydirection && camera.chase && !ticcmd_resetdown[forplayer] && !player->climbing && !forcestrafe && (player->pflags & PF_DIRECTIONCHAR) && player->powers[pw_carry] != CR_MINECART)
|
||||
|
|
Loading…
Reference in a new issue