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:
parent
9811f310bc
commit
a1668b14fc
@ -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)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user