X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_gfx.pas;h=9cc665ccaadb5d2afe671d89739b86391f403d60;hb=3f9f9afcc6f00317e2cac5512e88ca538ff9b903;hp=224faeed37e415d8c1be49f2af769207f83f12f7;hpb=6cdd36d2fb73f13be7b6ea1870a8b3b0817b37f1;p=d2df-sdl.git diff --git a/src/game/g_gfx.pas b/src/game/g_gfx.pas index 224faee..9cc665c 100644 --- a/src/game/g_gfx.pas +++ b/src/game/g_gfx.pas @@ -148,7 +148,7 @@ function awmIsSetHolmes (x, y: Integer): Boolean; inline; implementation uses - {$IFNDEF HEADLESS} + {$IFDEF ENABLE_RENDER} r_render, {$ENDIF} g_map, g_panel, Math, utils, @@ -176,7 +176,7 @@ var procedure g_GFX_QueueEffect (AnimType, X, Y: Integer); begin - {$IFNDEF HEADLESS} + {$IFDEF ENABLE_RENDER} r_Render_QueueEffect(AnimType, X, Y) {$ENDIF} end;