summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 96433b6)
raw | patch | inline | side by side (parent: 96433b6)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Mon, 21 Oct 2019 20:10:15 +0000 (23:10 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Mon, 21 Oct 2019 20:10:15 +0000 (23:10 +0300) |
src/game/g_main.pas | patch | blob | history |
diff --git a/src/game/g_main.pas b/src/game/g_main.pas
index 16085cead25ca40398edda2a2a43bb8a4b6f51e6..94606737be95baed9247cbfe82d29f4ca792af2a 100644 (file)
--- a/src/game/g_main.pas
+++ b/src/game/g_main.pas
if GameWad = '' then
begin
e_WriteLog('GAME.WAD not installed?', TMsgType.Fatal);
- {$IFDEF USE_SDL2}
+ {$IF DEFINED(USE_SDL2) AND NOT DEFINED(HEADLESS)}
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, 'Doom 2D Forever', 'GAME.WAD not installed?', nil);
{$ENDIF}
Halt(1);