X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_window.pas;h=b8d0921b589b98eb4190e598cd1f8ea32766a41f;hb=fe124e7198cf5515dc005ed363c7989e19228134;hp=d703ea2fc2088a829bfa3af1bf07b83d31b44f16;hpb=6a529517007ed9becc3cd4e188f3c0e1348fda1b;p=d2df-sdl.git diff --git a/src/game/g_window.pas b/src/game/g_window.pas index d703ea2..b8d0921 100644 --- a/src/game/g_window.pas +++ b/src/game/g_window.pas @@ -823,6 +823,7 @@ begin end; end; +{$IFNDEF HEADLESS} if forceUpdate then begin DrawMenuBackground('INTER'); @@ -832,6 +833,7 @@ begin g_Console_Draw(True); SwapBuffers(); end; +{$ENDIF} end; e_SoundUpdate(); @@ -1177,8 +1179,10 @@ begin // Êîìàíäíàÿ ñòðîêà if (ParamCount > 0) then g_Game_Process_Params(); +{$IFNDEF HEADLESS} // Çàïðîñ ÿçûêà if (not gGameOn) and gAskLanguage then g_Menu_AskLanguage(); +{$ENDIF} e_WriteLog('Entering the main loop', TMsgType.Notify);