GIT
/
REPO
/
FRED-BOY
Projects
/
d2df-sdl.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96433b6
)
do not show message box in headless mode
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
@@
-367,7
+367,7
@@
begin
if GameWad = '' then
begin
e_WriteLog('GAME.WAD not installed?', TMsgType.Fatal);
- {$IF
DEF 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);
DEADSOFTWARE 2012-2025