Hopefully fix F12 issues

This commit is contained in:
lachwright 2019-12-07 01:52:40 +08:00
parent 0672db9e44
commit e7574957bc
1 changed files with 2 additions and 2 deletions

View File

@ -3794,13 +3794,13 @@ boolean P_CameraThinker(player_t *player, camera_t *thiscam, boolean resetcalled
P_ResetCamera(player, thiscam);
resetcalled = true;
}
else
else if (!resetcalled)
{
fixed_t camspeed = P_AproxDistance(thiscam->momx, thiscam->momy);
P_SlideCameraMove(thiscam);
if (!resetcalled && P_AproxDistance(thiscam->momx, thiscam->momy) == camspeed)
if (P_AproxDistance(thiscam->momx, thiscam->momy) == camspeed)
{
P_ResetCamera(player, thiscam);
resetcalled = true;