mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 00:41:55 +00:00
- fixed World Tour fallback sound lookup.
This commit is contained in:
parent
1e249d3536
commit
1f7954fc29
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue