Skip to content

Commit

Permalink
Substract VIEWHEIGHT in capped framerate
Browse files Browse the repository at this point in the history
  • Loading branch information
JNechaevsky committed May 16, 2023
1 parent ae993f5 commit 79bec5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doom/crlfunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ void CRL_Get_MAX (void)
{
CRL_MAX_x = CRL_camera_x;
CRL_MAX_y = CRL_camera_y;
CRL_MAX_z = CRL_camera_z;
CRL_MAX_z = CRL_camera_z - VIEWHEIGHT;
CRL_MAX_ang = CRL_camera_ang;
}
}
Expand Down

0 comments on commit 79bec5e

Please sign in to comment.