From a1668b14fcd9aacecb3b83c7aa37a97558599d62 Mon Sep 17 00:00:00 2001 From: FunkyFr3sh Date: Mon, 12 Nov 2018 00:41:08 +0100 Subject: [PATCH] allow values up to 1000 for maxgameticks --- src/settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings.c b/src/settings.c index 08839f6..26eb6c1 100644 --- a/src/settings.c +++ b/src/settings.c @@ -48,7 +48,7 @@ void Settings_Load() WindowRect.top = GetInt("posY", -32000); int maxTicks = GetInt("maxgameticks", 0); - if (maxTicks > 0 && maxTicks < 1000) + if (maxTicks > 0 && maxTicks <= 1000) ddraw->ticklength = 1000.0f / maxTicks; if ((ddraw->fullscreen = GetBool("fullscreen", FALSE)))