aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/scrolls2.cpp
diff options
context:
space:
mode:
authorStrangerke2013-09-05 01:55:08 +0200
committerStrangerke2013-09-05 01:55:08 +0200
commite5cc0fa49510880def04c30ce1f982c1c281b974 (patch)
treec6f9043e5c5b74fe703a7954acc6d911a6c5b94f /engines/avalanche/scrolls2.cpp
parent71af29e9794eb9bc4d597068a44e19e06d0bb28e (diff)
downloadscummvm-rg350-e5cc0fa49510880def04c30ce1f982c1c281b974.tar.gz
scummvm-rg350-e5cc0fa49510880def04c30ce1f982c1c281b974.tar.bz2
scummvm-rg350-e5cc0fa49510880def04c30ce1f982c1c281b974.zip
AVALANCHE: Fix more warnings reported by CppCheck
Diffstat (limited to 'engines/avalanche/scrolls2.cpp')
-rw-r--r--engines/avalanche/scrolls2.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/engines/avalanche/scrolls2.cpp b/engines/avalanche/scrolls2.cpp
index 4159a88ba6..3ad8f50cfb 100644
--- a/engines/avalanche/scrolls2.cpp
+++ b/engines/avalanche/scrolls2.cpp
@@ -223,21 +223,25 @@ void Scrolls::music_scroll() {
// Since there are no sounds in the game yet, it's pretty pointless to implement this function further.
// For now we act like the player just played the right tone.
- //if (they_match(played)) {
+#if 0
+ if (they_match(played)) {
+#endif
_vm->_gyro->screturn = true;
_vm->_gyro->off();
state(0);
_vm->_gyro->seescroll = false;
_vm->_timeout->set_up_timer(8, _vm->_timeout->procjacques_wakes_up, _vm->_timeout->reason_jacques_waking_up);
+ warning("STUB: Scrolls::music_scroll()");
return;
- //}
- warning("STUB: Scrolls::music_scroll()");
-
+#if 0
+ }
+
_vm->_gyro->screturn = false;
_vm->_gyro->off();
state(0);
_vm->_gyro->seescroll = false;
+#endif
}
/* ThatsAll, so put us back to */ /*$F-*/