- Duke: clear resource ID when setting up the original sounds for World Tour.

This made them unconditionally override the replacements - bad as they are.
This commit is contained in:
Christoph Oelckers 2023-05-14 08:53:08 +02:00
parent 3b0da4c221
commit cf349fbd7d

View file

@ -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;