From 263c5924906b2fcb3303850ad919e158cb06e120 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sat, 17 Jan 2015 23:37:59 +0200 Subject: ZVISION: Fix bug #6769 (the "Alchemical debacle" video in ZGI) --- engines/zvision/scripting/actions.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'engines/zvision') 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() { -- cgit v1.2.3