diff --git a/source/core/music/s_advsound.cpp b/source/core/music/s_advsound.cpp index 679ad2716..bb2bf043c 100644 --- a/source/core/music/s_advsound.cpp +++ b/source/core/music/s_advsound.cpp @@ -149,7 +149,7 @@ static FSoundID S_AddSound(const char* logicalname, int lumpnum, FScanner* sc) FSoundID S_AddSound(const char* logicalname, const char* lumpname, FScanner* sc) { int lump = fileSystem.CheckNumForFullName(lumpname, true, ns_sounds); - if (lump == -1) sc->ScriptMessage("%s: sound file not found"); + if (lump == -1 && sc) sc->ScriptMessage("%s: sound file not found", sc->String); return S_AddSound(logicalname, lump, sc); } diff --git a/wadsrc/static/sounds/dsempty.lmp b/wadsrc/static/sounds/dsempty.lmp new file mode 100644 index 000000000..cb6f1d2fc Binary files /dev/null and b/wadsrc/static/sounds/dsempty.lmp differ