From: DeaDDooMER Date: Sat, 2 Feb 2019 11:17:16 +0000 (+0300) Subject: Fix limits in config X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=5ddaede3fa99cd9757167d18c953f019214bfb04;p=d2df-sdl.git Fix limits in config --- diff --git a/src/game/g_options.pas b/src/game/g_options.pas index 1f3bd48..25b55d1 100644 --- a/src/game/g_options.pas +++ b/src/game/g_options.pas @@ -615,10 +615,10 @@ begin ReadBoolean(g_touch_alt, 'Alt'); section := 'Game'; - ReadInteger(i, 'MaxParticles', 1000, 50000); g_GFX_SetMax(i); - ReadInteger(i, 'MaxShells', 300, 600); g_Shells_SetMax(i); - ReadInteger(i, 'MaxGibs', 150, 500); g_Gibs_SetMax(i); - ReadInteger(i, 'MaxCorpses', 20, 100); g_Corpses_SetMax(i); + ReadInteger(i, 'MaxParticles', 0, 50000); g_GFX_SetMax(i); + ReadInteger(i, 'MaxShells', 0, 600); g_Shells_SetMax(i); + ReadInteger(i, 'MaxGibs', 0, 500); g_Gibs_SetMax(i); + ReadInteger(i, 'MaxCorpses', 0, 100); g_Corpses_SetMax(i); ReadInteger(i, 'GibsCount'); case i of 0: gGibsCount := 0;