X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_options.pas;h=2e268a0c3e69317b51a1a76bf05b607082479889;hb=dae5714e18d9846dc09f7b2bcd4ec1bc53de2f35;hp=1f3bd4881e0f9f7e5d4e8d5032d5c11bb6695caf;hpb=4fd8798646bcb768e925ba667b0c4790e99e1e71;p=d2df-sdl.git diff --git a/src/game/g_options.pas b/src/game/g_options.pas index 1f3bd48..2e268a0 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; @@ -1063,5 +1063,6 @@ begin end; initialization + Randomize; machine := Random(10000) end.