diff options
Diffstat (limited to 'engines/hugo/sound.cpp')
-rw-r--r-- | engines/hugo/sound.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/hugo/sound.cpp b/engines/hugo/sound.cpp index b8a5a3297e..b4c42c4631 100644 --- a/engines/hugo/sound.cpp +++ b/engines/hugo/sound.cpp @@ -246,6 +246,10 @@ SoundHandler::SoundHandler(HugoEngine *vm) : _vm(vm) { _midiPlayer = new MidiPlayer(driver); } +SoundHandler::~SoundHandler() { + delete _midiPlayer; +} + void SoundHandler::setMusicVolume() { /* Set the FM music volume from config.mvolume (0..100%) */ |