From 127607b104d8ab3bbf0bce11940a7bd1936209db Mon Sep 17 00:00:00 2001 From: DeaDDooMER Date: Sun, 13 Oct 2019 18:03:50 +0300 Subject: [PATCH] fix building tools --- src/shared/a_modes.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/shared/a_modes.inc b/src/shared/a_modes.inc index c9fd457..5fc22fa 100644 --- a/src/shared/a_modes.inc +++ b/src/shared/a_modes.inc @@ -138,7 +138,11 @@ {$ERROR Only one sound driver must be selected!} {$ENDIF} {$ELSE} - {$ERROR Sound driver not selected. Use -dUSE_SOUNDSTUB or -dUSE_SDLMIXER or -dUSE_FMOD or -dUSE_OPENAL} + {$IFDEF IN_TOOLS} + {$DEFINE USE_SOUNDSTUB} + {$ELSE} + {$ERROR Sound driver not selected. Use -dUSE_SOUNDSTUB or -dUSE_SDLMIXER or -dUSE_FMOD or -dUSE_OPENAL} + {$ENDIF} {$ENDIF} {$IF DEFINED(USE_GLSTUB)} -- 2.29.2