diff --git a/src/game/g_gfx.pas b/src/game/g_gfx.pas
index d0bf54b182c1657158b93f0f0c469d74222d9cfe..9cc665ccaadb5d2afe671d89739b86391f403d60 100644 (file)
--- a/src/game/g_gfx.pas
+++ b/src/game/g_gfx.pas
implementation
-uses
- {$IFNDEF HEADLESS}
- r_render,
- {$ENDIF}
- g_map, g_panel, g_basic, Math,
- g_options, g_console, SysUtils, g_triggers, MAPDEF,
- g_game, g_language, g_net, utils, xprofiler;
+ uses
+ {$IFDEF ENABLE_RENDER}
+ r_render,
+ {$ENDIF}
+ g_map, g_panel, Math, utils,
+ g_options, SysUtils, MAPDEF
+ ;
const
procedure g_GFX_QueueEffect (AnimType, X, Y: Integer);
begin
- {$IFNDEF HEADLESS}
+ {$IFDEF ENABLE_RENDER}
r_Render_QueueEffect(AnimType, X, Y)
{$ENDIF}
end;