From cadb7176bc6336de2ee05c3465e9954157a8e4a6 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 26 Dec 2014 18:57:58 +1100 Subject: XEEN: Fix error in vertMerge --- engines/xeen/screen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/xeen/screen.cpp') diff --git a/engines/xeen/screen.cpp b/engines/xeen/screen.cpp index e390f16cdd..5276b6971f 100644 --- a/engines/xeen/screen.cpp +++ b/engines/xeen/screen.cpp @@ -141,8 +141,8 @@ void Screen::horizMerge(int xp) { Common::copy(srcP, srcP + SCREEN_WIDTH - xp, destP); if (xp != 0) { - srcP = (const byte *)_pages[1].getBasePtr(xp, y); - Common::copy(srcP, srcP + SCREEN_WIDTH - xp, destP + xp); + srcP = (const byte *)_pages[1].getBasePtr(0, y); + Common::copy(srcP + SCREEN_WIDTH - xp, srcP + SCREEN_WIDTH, destP + SCREEN_WIDTH - xp); } } } -- cgit v1.2.3