X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_netmaster.pas;h=e708c13227bfd843e38f60a4fb4a243c9e4946b4;hp=12d926f937c309fc94ff6c7b186cbe4be50491e9;hb=bb931202515154fd56edaa5657d0f69f1cce0e75;hpb=335e018a96e0da3bb62e8c220ce162e586356255 diff --git a/src/game/g_netmaster.pas b/src/game/g_netmaster.pas index 12d926f..e708c13 100644 --- a/src/game/g_netmaster.pas +++ b/src/game/g_netmaster.pas @@ -179,8 +179,11 @@ uses {$IFDEF ENABLE_MENU} g_gui, g_menu, {$ENDIF} + {$IFDEF ENABLE_RENDER} + r_render, + {$ENDIF} {$IFNDEF HEADLESS} - r_render, g_system, + g_system, {$ENDIF} e_input, e_log, g_net, g_console, g_map, g_game, g_sound, g_options, g_language, g_basic, @@ -1786,10 +1789,12 @@ begin begin slWaitStr := _lc[I_NET_SLIST_WAIT]; -{$IFNDEF HEADLESS} - r_Render_Draw; - sys_Repaint; -{$ENDIF} + {$IFDEF ENABLE_RENDER} + r_Render_Draw; + {$ENDIF} + {$IFNDEF HEALESS} + sys_Repaint; + {$ENDIF} if g_Net_Slist_Fetch(SL) then begin