diff options
author | Paul Gilbert | 2017-09-25 19:41:46 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-09-25 19:41:46 -0400 |
commit | 90636b367eb655699de8414ba855045627eec63f (patch) | |
tree | bcd4cf68823a076119bfe4601be99369d41dbf1d /engines/titanic/sound/sound.h | |
parent | ba380ac28ef5217de54f81a621b85f8bfb553f88 (diff) | |
download | scummvm-rg350-90636b367eb655699de8414ba855045627eec63f.tar.gz scummvm-rg350-90636b367eb655699de8414ba855045627eec63f.tar.bz2 scummvm-rg350-90636b367eb655699de8414ba855045627eec63f.zip |
TITANIC: Free wave files on game exit like original does
Diffstat (limited to 'engines/titanic/sound/sound.h')
-rw-r--r-- | engines/titanic/sound/sound.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/titanic/sound/sound.h b/engines/titanic/sound/sound.h index c767a3d75f..ee2b8cc13d 100644 --- a/engines/titanic/sound/sound.h +++ b/engines/titanic/sound/sound.h @@ -52,6 +52,7 @@ public: CSoundItem(File *dialogueFile, int speechId) : ListItem(), _waveFile(nullptr), _dialogueFileHandle(dialogueFile), _speechId(speechId), _active(false), _disposeAfterUse(DisposeAfterUse::NO) {} + virtual ~CSoundItem(); }; class CSoundItemList : public List<CSoundItem> { |