1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-24 17:49:52 +01:00

allow values up to 1000 for maxgameticks

This commit is contained in:
FunkyFr3sh 2018-11-12 00:41:08 +01:00
parent 9811f310bc
commit a1668b14fc

View File

@ -48,7 +48,7 @@ void Settings_Load()
WindowRect.top = GetInt("posY", -32000); WindowRect.top = GetInt("posY", -32000);
int maxTicks = GetInt("maxgameticks", 0); int maxTicks = GetInt("maxgameticks", 0);
if (maxTicks > 0 && maxTicks < 1000) if (maxTicks > 0 && maxTicks <= 1000)
ddraw->ticklength = 1000.0f / maxTicks; ddraw->ticklength = 1000.0f / maxTicks;
if ((ddraw->fullscreen = GetBool("fullscreen", FALSE))) if ((ddraw->fullscreen = GetBool("fullscreen", FALSE)))