diff options
author | uruk | 2013-09-20 00:56:41 +0200 |
---|---|---|
committer | uruk | 2013-09-20 00:56:41 +0200 |
commit | 207335d0f22ef821bd9c314ce13346ec6ff8b7c5 (patch) | |
tree | de3c5425b1b429213f2c22e2eadc4b3ece07cdff | |
parent | 5ccff749a5d3bdbc3c9fac3023e5a336f4f8f2c1 (diff) | |
download | scummvm-rg350-207335d0f22ef821bd9c314ce13346ec6ff8b7c5.tar.gz scummvm-rg350-207335d0f22ef821bd9c314ce13346ec6ff8b7c5.tar.bz2 scummvm-rg350-207335d0f22ef821bd9c314ce13346ec6ff8b7c5.zip |
AVALANCHE: Repair minigame: Harp.
-rw-r--r-- | engines/avalanche/gyro.h | 3 | ||||
-rw-r--r-- | engines/avalanche/scrolls.cpp | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/engines/avalanche/gyro.h b/engines/avalanche/gyro.h index 51b6c155f1..155feee8de 100644 --- a/engines/avalanche/gyro.h +++ b/engines/avalanche/gyro.h @@ -216,9 +216,10 @@ public: static const QuasipedType kQuasipeds[16]; enum Pitch { + kPitchInvalid, kPitchLower, kPitchSame, - kPitchHigher + kPitchHigher, }; static const uint16 kNotes[12]; diff --git a/engines/avalanche/scrolls.cpp b/engines/avalanche/scrolls.cpp index 9e56170226..8936bfad8b 100644 --- a/engines/avalanche/scrolls.cpp +++ b/engines/avalanche/scrolls.cpp @@ -215,8 +215,8 @@ void Scrolls::scrollModeMusic() { TuneType played; for (int i = 0; i < sizeof(played); i++) - played[i] = 0; - byte lastOne = 0, thisOne = 0; + played[i] = Gyro::kPitchInvalid; + int8 lastOne = -1, thisOne = -1; // Invalid values. _vm->_gyro->_seeScroll = true; |