aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/game.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2010-02-14 12:23:22 +0000
committerFilippos Karapetis2010-02-14 12:23:22 +0000
commit07e405588dc09fa119f649b7efc1f357f8c40683 (patch)
treeb3914ab991085df44c0cab64845b579042407efa /engines/sci/engine/game.cpp
parentdd5518d3c5afaefe8269f86e298529712a60121c (diff)
downloadscummvm-rg350-07e405588dc09fa119f649b7efc1f357f8c40683.tar.gz
scummvm-rg350-07e405588dc09fa119f649b7efc1f357f8c40683.tar.bz2
scummvm-rg350-07e405588dc09fa119f649b7efc1f357f8c40683.zip
Moved the reference to AudioPlayer inside SciEngine (as it doesn't have a state, per se, and is static)
svn-id: r48059
Diffstat (limited to 'engines/sci/engine/game.cpp')
-rw-r--r--engines/sci/engine/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/game.cpp b/engines/sci/engine/game.cpp
index 950041873e..db77724a57 100644
--- a/engines/sci/engine/game.cpp
+++ b/engines/sci/engine/game.cpp
@@ -301,7 +301,7 @@ int game_exit(EngineState *s) {
// Reinit because some other code depends on having a valid state
game_init_sound(s, SFX_STATE_FLAG_NOSOUND, g_sci->_features->detectDoSoundType());
#else
- s->_audio->stopAllAudio();
+ g_sci->_audio->stopAllAudio();
s->_soundCmd->clearPlayList();
#endif
}