Skip to content

Commit

Permalink
account for 'amess96.voc' being renamed in the World Tour re-recordings.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Oct 9, 2024
1 parent 053a687 commit 48d4545
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/games/duke/src/sounds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,7 @@ void S_WorldTourMappingsForOldSounds()
fname.ToLower();
fname.Substitute("sound/", "");
fname.Substitute(".ogg", ".voc");
fname.Substitute("amess06_1", "amess06"); // This sound was renamed for the re-recorded set.
int lump = fileSystem.FindFile(fname.GetChars()); // in this case we absolutely do not want the extended lookup that's optionally performed by S_LookupSound.
if (lump >= 0)
{
Expand Down

0 comments on commit 48d4545

Please sign in to comment.