35/2 != 17 = 17.5 ?

This commit is contained in:
Alug committed 2024-06-16 16:17:24 +02:00
1 parent f2ddbf1e68
commit b912047f68
1 file changed
+3 -2
+3 -2
View File
@@ -621,7 +621,8 @@ static int menuInputDelayTimer = 0;
void D_SRB2Loop(void)
{
tic_t entertic = 0, oldentertics = 0, realtics = 0, rendertimeout = INFTICS;
tic_t entertic = 0, oldentertics = 0, realtics = 0;
double rendertimeout = INFTICS;
double deltatics = 0.0;
double deltasecs = 0.0;
@@ -723,7 +724,7 @@ void D_SRB2Loop(void)
if (lastdraw || singletics || gametic > rendergametic)
{
rendergametic = gametic;
rendertimeout = entertic + TICRATE/17;
rendertimeout = entertic + TICRATE/(TICRATE/2);
doDisplay = true;
}