X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_gfx.pas;h=9cc665ccaadb5d2afe671d89739b86391f403d60;hp=224faeed37e415d8c1be49f2af769207f83f12f7;hb=bb931202515154fd56edaa5657d0f69f1cce0e75;hpb=335e018a96e0da3bb62e8c220ce162e586356255 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;