aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/sound/sound.h
diff options
context:
space:
mode:
authorPaul Gilbert2017-09-25 19:41:46 -0400
committerPaul Gilbert2017-09-25 19:41:46 -0400
commit90636b367eb655699de8414ba855045627eec63f (patch)
treebcd4cf68823a076119bfe4601be99369d41dbf1d /engines/titanic/sound/sound.h
parentba380ac28ef5217de54f81a621b85f8bfb553f88 (diff)
downloadscummvm-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.h1
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> {