From 1f7954fc293176428fcb5d2e1168aaa8782a7e3d Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 11 Dec 2022 22:15:59 +0100 Subject: [PATCH] - fixed World Tour fallback sound lookup. --- source/games/duke/src/sounds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/sounds.cpp b/source/games/duke/src/sounds.cpp index 7c75973eb..784757f75 100644 --- a/source/games/duke/src/sounds.cpp +++ b/source/games/duke/src/sounds.cpp @@ -773,7 +773,7 @@ void S_WorldTourMappingsForOldSounds() for(unsigned i = 1; i < maxsnd; i++) { auto sfx = soundEngine->GetSfx(FSoundID::fromInt(i)); - FString fname = sfx->name.GetChars(); + FString fname = fileSystem.GetFileFullName(sfx->lumpnum); if (!fname.Right(4).CompareNoCase(".ogg")) { // All names here follow the same convention. We must strip the "sound/" folder and replace the extension to get the original VOCs.