diff options
-rw-r--r-- | engines/xeen/screen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } } |