- migrate a large part of the sound code to FSoundIDs.
This has always been a wild mixture of IDs and ints.
This commit is contained in:
parent
1a6da52961
commit
160633a4a2
35 changed files with 224 additions and 205 deletions
|
|
@ -359,10 +359,10 @@ class USDFParser : public UDMFParserBase
|
|||
{
|
||||
FString soundname = "svox/";
|
||||
soundname += name;
|
||||
node->SpeakerVoice = FSoundID(S_FindSound(soundname));
|
||||
if (node->SpeakerVoice == 0 && (namespace_bits & ( Zd | Gz )))
|
||||
node->SpeakerVoice = S_FindSound(soundname);
|
||||
if (node->SpeakerVoice == NO_SOUND && (namespace_bits & ( Zd | Gz )))
|
||||
{
|
||||
node->SpeakerVoice = FSoundID(S_FindSound(name));
|
||||
node->SpeakerVoice = S_FindSound(name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue