aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2015-01-17 23:37:59 +0200
committerFilippos Karapetis2015-01-17 23:38:50 +0200
commit263c5924906b2fcb3303850ad919e158cb06e120 (patch)
treed338b9df74ba7cc79ab62ffc71a7eb769dd0e53f /engines
parentccd0c63a7b91031c8a172a60634506a3c810554b (diff)
downloadscummvm-rg350-263c5924906b2fcb3303850ad919e158cb06e120.tar.gz
scummvm-rg350-263c5924906b2fcb3303850ad919e158cb06e120.tar.bz2
scummvm-rg350-263c5924906b2fcb3303850ad919e158cb06e120.zip
ZVISION: Fix bug #6769 (the "Alchemical debacle" video in ZGI)
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/scripting/actions.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/zvision/scripting/actions.cpp b/engines/zvision/scripting/actions.cpp
index ce6bd31ee4..758158817e 100644
--- a/engines/zvision/scripting/actions.cpp
+++ b/engines/zvision/scripting/actions.cpp
@@ -638,6 +638,13 @@ ActionPlayAnimation::ActionPlayAnimation(ZVision *engine, int32 slotkey, const C
_mask = -1;
_fileName = Common::String(fileName);
+
+ // WORKAROUND for bug #6769, location me1g.scr (the "Alchemical debacle"
+ // video in ZGI). We only scale up by 2x, in AnimationEffect::process(),
+ // but the dimensions of the target frame are off by 2 pixels. We fix that
+ // here, so that the video can be scaled.
+ if (_fileName == "me1ga011.avi" && _y2 == 213)
+ _y2 = 215;
}
ActionPlayAnimation::~ActionPlayAnimation() {