allow values up to 1000 for maxgameticks
This commit is contained in:
parent
9811f310bc
commit
a1668b14fc
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue