diff --git a/src/game/g_window.pas b/src/game/g_window.pas
index d703ea2fc2088a829bfa3af1bf07b83d31b44f16..3e38a841fc74351bd56529596f5bc29b2aa2450e 100644 (file)
--- a/src/game/g_window.pas
+++ b/src/game/g_window.pas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ * the Free Software Foundation, version 3 of the License ONLY.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
end;
end;
+{$IFNDEF HEADLESS}
if forceUpdate then
begin
DrawMenuBackground('INTER');
g_Console_Draw(True);
SwapBuffers();
end;
+{$ENDIF}
end;
e_SoundUpdate();
// Êîìàíäíàÿ ñòðîêà
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);