From cf349fbd7df11484bbf9db402f0083959dad384c Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 14 May 2023 08:53:08 +0200 Subject: [PATCH] - Duke: clear resource ID when setting up the original sounds for World Tour. This made them unconditionally override the replacements - bad as they are. --- source/games/duke/src/sounds.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/games/duke/src/sounds.cpp b/source/games/duke/src/sounds.cpp index 6dd4d5eed..2d5c0ccb2 100644 --- a/source/games/duke/src/sounds.cpp +++ b/source/games/duke/src/sounds.cpp @@ -771,6 +771,7 @@ void S_WorldTourMappingsForOldSounds() { auto newsfx = soundEngine->AllocateSound(); *newsfx = *sfx; + newsfx->ResourceId = -1; newsfx->name = fname; newsfx->lumpnum = lump; sfx->UserData[kWorldTourMapping] = soundEngine->GetNumSounds() - 1;