aboutsummaryrefslogtreecommitdiff
path: root/scumm/debugger.cpp
diff options
context:
space:
mode:
authorJamieson Christian2003-05-16 00:19:30 +0000
committerJamieson Christian2003-05-16 00:19:30 +0000
commit319cbc1c8c1341c022dc5379df0cba7aa022588f (patch)
treee615c25c5f3a0a127af467eea9dcbda1cb831fc0 /scumm/debugger.cpp
parent1482ab1c4282c271fccae45b02d847eafe5076ee (diff)
downloadscummvm-rg350-319cbc1c8c1341c022dc5379df0cba7aa022588f.tar.gz
scummvm-rg350-319cbc1c8c1341c022dc5379df0cba7aa022588f.tar.bz2
scummvm-rg350-319cbc1c8c1341c022dc5379df0cba7aa022588f.zip
Reset sounds on room load
svn-id: r7558
Diffstat (limited to 'scumm/debugger.cpp')
-rw-r--r--scumm/debugger.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scumm/debugger.cpp b/scumm/debugger.cpp
index 8fbc9975bc..d506f25e0d 100644
--- a/scumm/debugger.cpp
+++ b/scumm/debugger.cpp
@@ -358,6 +358,7 @@ bool ScummDebugger::Cmd_Room(int argc, const char **argv) {
if (argc > 1) {
int room = atoi(argv[1]);
_s->_actors[_s->VAR(_s->VAR_EGO)].room = room;
+ _s->_sound->stopAllSounds();
_s->startScene(room, 0, 0);
_s->_fullRedraw = 1;
return false;