aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie/script.cpp
diff options
context:
space:
mode:
authorHenry Bush2009-02-15 19:52:44 +0000
committerHenry Bush2009-02-15 19:52:44 +0000
commitd7dea4ff17cd5ee6737cbe50e5d47c13e946f86c (patch)
tree25e670e1e6800c1a47c6161769443f8bc27f5583 /engines/groovie/script.cpp
parentc137d7578437b8bac9bc0e6f3965f37f0d9af17c (diff)
downloadscummvm-rg350-d7dea4ff17cd5ee6737cbe50e5d47c13e946f86c.tar.gz
scummvm-rg350-d7dea4ff17cd5ee6737cbe50e5d47c13e946f86c.tar.bz2
scummvm-rg350-d7dea4ff17cd5ee6737cbe50e5d47c13e946f86c.zip
T7G: Fix for #2511456. Volume is now only reset to 100 on playing a new track, and the background track starts on beginning of input loop (not at end of main track).
svn-id: r38284
Diffstat (limited to 'engines/groovie/script.cpp')
-rw-r--r--engines/groovie/script.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/groovie/script.cpp b/engines/groovie/script.cpp
index 88b2d3e4d9..c36b331785 100644
--- a/engines/groovie/script.cpp
+++ b/engines/groovie/script.cpp
@@ -567,7 +567,7 @@ void Script::o_bf5on() { // 0x0A
_bitflags |= 1 << 5;
}
-void Script::o_inputloopstart() {
+void Script::o_inputloopstart() { //0x0B
debugScript(5, true, "Input loop start");
// Reset the input action and the mouse cursor
@@ -584,6 +584,8 @@ void Script::o_inputloopstart() {
// Save the current pressed character for the whole loop
_kbdChar = _eventKbdChar;
_eventKbdChar = 0;
+
+ _vm->_musicPlayer->startBackground();
}
void Script::o_keyboardaction() {