diff --git a/src/game/g_options.pas b/src/game/g_options.pas
index 91b0a05bb755c9f87762b127ec68ffedd0cfb2e7..e825938b09beaf404853489cb01ae55497b560a7 100644 (file)
--- a/src/game/g_options.pas
+++ b/src/game/g_options.pas
{$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;
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);