- fix last commit

This commit is contained in:
Christoph Oelckers 2023-01-21 15:08:47 +01:00
parent dbef2f74d1
commit 5ebce5afba
2 changed files with 1 additions and 1 deletions

View file

@ -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) FSoundID S_AddSound(const char* logicalname, const char* lumpname, FScanner* sc)
{ {
int lump = fileSystem.CheckNumForFullName(lumpname, true, ns_sounds); 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); return S_AddSound(logicalname, lump, sc);
} }

Binary file not shown.