X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_options.pas;h=e825938b09beaf404853489cb01ae55497b560a7;hp=91b0a05bb755c9f87762b127ec68ffedd0cfb2e7;hb=23a883f6c44413c380997e61b00a756bda95bc03;hpb=e93442c2367bd3658f31ceb2156a0b4809b21e38 diff --git a/src/game/g_options.pas b/src/game/g_options.pas index 91b0a05..e825938 100644 --- a/src/game/g_options.pas +++ b/src/game/g_options.pas @@ -126,7 +126,10 @@ uses {$IFDEF USE_SDL2} SDL2, {$ENDIF} - e_log, e_input, g_console, g_sound, g_gfx, g_player, Math, + {$IFDEF ENABLE_GFX} + g_gfx, + {$ENDIF} + e_log, e_input, g_console, g_sound, g_player, Math, g_map, g_net, g_netmaster, SysUtils, CONFIG, g_game, g_items, wadreader, envvars; @@ -278,7 +281,9 @@ begin end; (* section Game *) - g_GFX_SetMax(2000); + {$IFDEF ENABLE_GFX} + g_GFX_SetMax(2000); + {$ENDIF} g_Shells_SetMax(300); g_Gibs_SetMax(150); g_Corpses_SetMax(20);