aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx/core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/sfx/core.cpp')
-rw-r--r--engines/sci/sfx/core.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/engines/sci/sfx/core.cpp b/engines/sci/sfx/core.cpp
index 90aa024dcd..b121d1d877 100644
--- a/engines/sci/sfx/core.cpp
+++ b/engines/sci/sfx/core.cpp
@@ -357,12 +357,9 @@ SfxState::SfxState() {
_flags = 0;
_song = NULL;
_suspended = 0;
- _syncResource = NULL;
}
SfxState::~SfxState() {
- if (_syncResource)
- _resMan->unlockResource(_syncResource);
}
@@ -653,8 +650,6 @@ void SfxState::sfx_init(ResourceManager *resMan, int flags) {
_songlib._lib = 0;
_song = NULL;
_flags = flags;
- _syncResource = NULL;
- _syncOffset = 0;
_player = NULL;