Somehow miss committing the ACTUAL stickyhold part

This commit is contained in:
fickleheart 2019-12-30 11:36:59 -06:00
parent d980d526c8
commit b46cbe76d6

View file

@ -1400,6 +1400,10 @@ void G_BuildTiccmd(ticcmd_t *cmd, INT32 realtics, UINT8 ssplayer)
if (down && !last_centerviewdown[forplayer])
centerviewhold[forplayer] = !centerviewhold[forplayer];
last_centerviewdown[forplayer] = down;
if (cv_cam_centertoggle[forplayer].value == 2 && !down && !ticcmd_ztargetfocus[forplayer])
centerviewhold[forplayer] = false;
centerviewdown = centerviewhold[forplayer];
}
}