aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/scenes.cpp')
-rw-r--r--engines/fullpipe/scenes.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/fullpipe/scenes.cpp b/engines/fullpipe/scenes.cpp
index 896ea5a3fb..034d2a7383 100644
--- a/engines/fullpipe/scenes.cpp
+++ b/engines/fullpipe/scenes.cpp
@@ -573,15 +573,15 @@ bool FullpipeEngine::sceneSwitcher(EntranceInfo *entrance) {
if (_soundEnabled) {
if (scene->_soundList) {
_currSoundListCount = 2;
- _currSoundList1[0] = accessScene(SC_COMMON)->_soundList;
- _currSoundList1[1] = scene->_soundList;
+ _currSoundList1[0] = accessScene(SC_COMMON)->_soundList.get();
+ _currSoundList1[1] = scene->_soundList.get();
for (int i = 0; i < scene->_soundList->getCount(); i++) {
scene->_soundList->getSoundByIndex(i).updateVolume();
}
} else {
_currSoundListCount = 1;
- _currSoundList1[0] = accessScene(SC_COMMON)->_soundList;
+ _currSoundList1[0] = accessScene(SC_COMMON)->_soundList.get();
}
}