diff options
Diffstat (limited to 'scumm/bundle.cpp')
-rw-r--r-- | scumm/bundle.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/bundle.cpp b/scumm/bundle.cpp index 8ec45d83d4..247cc99e7f 100644 --- a/scumm/bundle.cpp +++ b/scumm/bundle.cpp @@ -202,6 +202,7 @@ void Bundle::closeVoiceFile() { if (_voiceFile.isOpen()) { _voiceFile.close(); free(_bundleVoiceTable); + _bundleVoiceTable = NULL; } } @@ -249,6 +250,8 @@ void Bundle::closeMusicFile() { if (_musicFile.isOpen()) { _musicFile.close(); free(_bundleMusicTable); + _bundleMusicTable = NULL; + _lastSong = -1; } } |