aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/scrolls.cpp
diff options
context:
space:
mode:
authoruruk2013-09-19 22:45:03 +0200
committeruruk2013-09-19 22:45:03 +0200
commit16f5f32376dc6648c5ffb6ca461a45105f4f3435 (patch)
tree3e89d65f08d8a83a324684f460a1fbf81186efa8 /engines/avalanche/scrolls.cpp
parent31637f198333999a75e513267002819b1ee6e752 (diff)
downloadscummvm-rg350-16f5f32376dc6648c5ffb6ca461a45105f4f3435.tar.gz
scummvm-rg350-16f5f32376dc6648c5ffb6ca461a45105f4f3435.tar.bz2
scummvm-rg350-16f5f32376dc6648c5ffb6ca461a45105f4f3435.zip
AVALANCHE: Repair Scrolls::musicalScroll() and Scrolls::store().
Diffstat (limited to 'engines/avalanche/scrolls.cpp')
-rw-r--r--engines/avalanche/scrolls.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/avalanche/scrolls.cpp b/engines/avalanche/scrolls.cpp
index 8df46355a0..83656a365e 100644
--- a/engines/avalanche/scrolls.cpp
+++ b/engines/avalanche/scrolls.cpp
@@ -190,7 +190,7 @@ void Scrolls::scrollModeDialogue() {
}
void Scrolls::store(byte what, TuneType &played) {
- memcpy(played + 1, played + 2, sizeof(played) - 1);
+ memcpy(played, played + 1, sizeof(played) - 1);
played[30] = what;
}
@@ -809,7 +809,9 @@ void Scrolls::musicalScroll() {
displayText(tmpStr);
_vm->_lucerna->spriteRun();
+ CursorMan.showMouse(false);
drawScroll(&Avalanche::Scrolls::scrollModeMusic);
+ CursorMan.showMouse(true);
resetScroll();
}