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.