aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2016-05-16 22:38:05 +0200
committerStrangerke2016-05-16 22:38:05 +0200
commit4371d2f4d9566c3f840284dbe86d3358de4db55f (patch)
tree32ba05052718b39e020506be032c0cc091952202
parent85b7da75deeaf57a30d58e924076eb72d7a3d98e (diff)
downloadscummvm-rg350-4371d2f4d9566c3f840284dbe86d3358de4db55f.tar.gz
scummvm-rg350-4371d2f4d9566c3f840284dbe86d3358de4db55f.tar.bz2
scummvm-rg350-4371d2f4d9566c3f840284dbe86d3358de4db55f.zip
GNAP: Fix score display in Monkey arcade game.
-rw-r--r--engines/gnap/scenes/arcade.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/gnap/scenes/arcade.cpp b/engines/gnap/scenes/arcade.cpp
index acc541a45d..5631c62ba9 100644
--- a/engines/gnap/scenes/arcade.cpp
+++ b/engines/gnap/scenes/arcade.cpp
@@ -1620,8 +1620,8 @@ void Scene51::updateCash(int amount) {
void Scene51::drawDigit(int digit, int position) {
if (digit != _digits[position]) {
- _vm->_gameSys->insertSequence(kDigitSequenceIds[digit], 253,
- _digitSequenceIds[position], 253,
+ _vm->_gameSys->insertSequence(kDigitSequenceIds[digit], 253 + position,
+ _digitSequenceIds[position], 253 + position,
kSeqSyncWait, 0, kDigitPositions[position] - 20, -20);
_digitSequenceIds[position] = kDigitSequenceIds[digit];
_digits[position] = digit;
@@ -1632,8 +1632,7 @@ void Scene51::initCashDisplay() {
for (int position = 0; position < 4; ++position) {
_digits[position] = 0;
_digitSequenceIds[position] = kDigitSequenceIds[0];
- _vm->_gameSys->insertSequence(kDigitSequenceIds[0], 253, 0, 0,
- kSeqNone, 0, kDigitPositions[position] - 20, -20);
+ _vm->_gameSys->insertSequence(kDigitSequenceIds[0], 253 + position, 0, 0, kSeqNone, 0, kDigitPositions[position] - 20, -20);
}
_cashAmount = 0;
}