aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2006-05-25 07:53:58 +0000
committerJohannes Schickel2006-05-25 07:53:58 +0000
commita052d89f8b35cf9afdf4c1622de59a4d56388ac3 (patch)
treee6424b12f45f967b69ca53478f7a67b8499e57b7
parentdb8968b28f9396046b24e72c392522aac5cdf757 (diff)
downloadscummvm-rg350-a052d89f8b35cf9afdf4c1622de59a4d56388ac3.tar.gz
scummvm-rg350-a052d89f8b35cf9afdf4c1622de59a4d56388ac3.tar.bz2
scummvm-rg350-a052d89f8b35cf9afdf4c1622de59a4d56388ac3.zip
Fixes bead movement speed in end scene.
svn-id: r22621
-rw-r--r--engines/kyra/sequences_v1.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/kyra/sequences_v1.cpp b/engines/kyra/sequences_v1.cpp
index f7d9b1156b..e451fc2206 100644
--- a/engines/kyra/sequences_v1.cpp
+++ b/engines/kyra/sequences_v1.cpp
@@ -1447,7 +1447,7 @@ int KyraEngine::handleBeadState() {
if (_text->printed()) {
_text->restoreTalkTextMessageBkgd(2, 0);
}
- initBeadState(beadState1.x, beadState1.y, beadState1.unk8, beadState1.unk9, 6, &beadState2);
+ initBeadState(beadState1.x, beadState1.y, beadState1.unk8, beadState1.unk9, 12, &beadState2);
_lastDisplayedPanPage = 18;
}
}
@@ -1456,7 +1456,7 @@ int KyraEngine::handleBeadState() {
case 4:
if (_system->getMillis() >= timer1) {
int x = 0, y = 0;
- timer1 = _system->getMillis();
+ timer1 = _system->getMillis() + _tickLength;
if (processBead(beadState1.x, beadState1.y, x, y, &beadState2)) {
if (_brandonStatusBit & 20) {
_unkEndSeqVar5 = 2;
@@ -1484,7 +1484,7 @@ int KyraEngine::handleBeadState() {
case 5:
if (_system->getMillis() >= timer1) {
- timer1 = _system->getMillis();
+ timer1 = _system->getMillis() + _tickLength;
int x = 0, y = 0;
if (processBead(beadState1.x, beadState1.y, x, y, &beadState2)) {
if (beadState2.dstX == 290) {
@@ -1506,7 +1506,7 @@ int KyraEngine::handleBeadState() {
_screen->updateScreen();
delayUntil(nextRun);
}
- initBeadState(beadState1.x, beadState1.y, 63, 60, 6, &beadState2);
+ initBeadState(beadState1.x, beadState1.y, 63, 60, 12, &beadState2);
} else {
_screen->copyFromCurPageBlock(beadState1.x >> 3, beadState1.y, beadState1.width, beadState1.height, _endSequenceBackUpRect);
_screen->addBitBlitRect(beadState1.x, beadState1.y, beadState1.width2, beadState1.height);