aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/script_lol.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-05-31 14:01:47 +0000
committerJohannes Schickel2009-05-31 14:01:47 +0000
commit11a5875aa8da7868fe3d83b6be0c023550fd3628 (patch)
tree0fc5d38e0631d186be91b016e1d305858a3fcaca /engines/kyra/script_lol.cpp
parentf59176cd4632b363f5531034b7bbd6628d831118 (diff)
downloadscummvm-rg350-11a5875aa8da7868fe3d83b6be0c023550fd3628.tar.gz
scummvm-rg350-11a5875aa8da7868fe3d83b6be0c023550fd3628.tar.bz2
scummvm-rg350-11a5875aa8da7868fe3d83b6be0c023550fd3628.zip
- Little bugfix for LoL outro TIM
- Add some initial code to allow easy playback of the LoL outro (credits text is still missing). svn-id: r41067
Diffstat (limited to 'engines/kyra/script_lol.cpp')
-rw-r--r--engines/kyra/script_lol.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/kyra/script_lol.cpp b/engines/kyra/script_lol.cpp
index 274a852066..682828d9a5 100644
--- a/engines/kyra/script_lol.cpp
+++ b/engines/kyra/script_lol.cpp
@@ -2392,7 +2392,6 @@ int LoLEngine::tlol_fadeInScene(const TIM *tim, const uint16 *param) {
delayUntil(endTime);
}
- _screen->copyRegion(0, 0, 0, 0, 320, 200, 4, 2, Screen::CR_NO_P_CHECK);
_screen->copyRegion(0, 0, 0, 0, 320, 200, 4, 0, Screen::CR_NO_P_CHECK);
_screen->updateScreen();
delete[] overlay;
@@ -2426,7 +2425,7 @@ int LoLEngine::tlol_displayAnimFrame(const TIM *tim, const uint16 *param) {
TIMInterpreter::Animation *anim = (TIMInterpreter::Animation *)tim->wsa[param[0]].anim;
if (param[1] == 0xFFFF) {
- _screen->copyRegion(0, 0, 0, 0, 320, 200, 2, 0, Screen::CR_NO_P_CHECK);
+ _screen->copyRegion(0, 0, 0, 0, 320, 200, 0, 2, Screen::CR_NO_P_CHECK);
} else {
anim->wsa->displayFrame(param[1], 2, anim->x, anim->y, 0);
_screen->copyRegion(anim->wsa->xAdd(), anim->wsa->yAdd(), anim->wsa->xAdd(), anim->wsa->yAdd(), anim->wsa->width(), anim->wsa->height(), 2, 0);