NANCY: Disable SoundDescriptions by default

Added a default name of NO SOUND for all sound
descriptions, which fixes at least one instance where an
uninitialized description would cause sound to stop playing
in nancy5
This commit is contained in:
Kaloyan Chehlarski 2023-11-13 01:37:05 +02:00
parent 58a34027b2
commit 7715eb98cb

View File

@ -245,7 +245,7 @@ struct SoundEffectDescription {
// Descrbes a single sound. Combines four different structs found in the data in one
struct SoundDescription {
Common::String name;
Common::String name = "NO SOUND";
uint16 channelID = 0;
uint16 playCommands = 1;
uint16 numLoops = 0;