aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/animator_v2.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2008-03-30 03:18:16 +0000
committerJohannes Schickel2008-03-30 03:18:16 +0000
commitb7a3dfd9df028dceaf4982e016c48f9be09833b6 (patch)
tree20e836ed0a854da934f89da7b633d4b2e6db9056 /engines/kyra/animator_v2.cpp
parent91e30d8e50d90928e71856f5b79ef2034714d02d (diff)
downloadscummvm-rg350-b7a3dfd9df028dceaf4982e016c48f9be09833b6.tar.gz
scummvm-rg350-b7a3dfd9df028dceaf4982e016c48f9be09833b6.tar.bz2
scummvm-rg350-b7a3dfd9df028dceaf4982e016c48f9be09833b6.zip
Always clip rect to copy in Screen::copyRegion now, like the original does.
This fixes bug #1537373 "KYRA1: Crash when meeting Zanthia". svn-id: r31318
Diffstat (limited to 'engines/kyra/animator_v2.cpp')
-rw-r--r--engines/kyra/animator_v2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/animator_v2.cpp b/engines/kyra/animator_v2.cpp
index 2ebc719d42..ff215ad4ce 100644
--- a/engines/kyra/animator_v2.cpp
+++ b/engines/kyra/animator_v2.cpp
@@ -188,7 +188,7 @@ void KyraEngine_v2::refreshAnimObjects(int force) {
height -= height + y - 144;
_screen->hideMouse();
- _screen->copyRegion(x, y, x, y, width, height, 2, 0, Screen::CR_CLIPPED | Screen::CR_NO_P_CHECK);
+ _screen->copyRegion(x, y, x, y, width, height, 2, 0, Screen::CR_NO_P_CHECK);
_screen->showMouse();
curObject->needRefresh = false;