diff options
| author | Paul Gilbert | 2014-12-26 18:57:58 +1100 | 
|---|---|---|
| committer | Paul Gilbert | 2014-12-26 18:57:58 +1100 | 
| commit | cadb7176bc6336de2ee05c3465e9954157a8e4a6 (patch) | |
| tree | e8c3ce30ad1e6d88b2270b7d428a99efbfda11b4 | |
| parent | 1a6dd88713ff6a6994f9e4d69abf8e3c66538bb2 (diff) | |
| download | scummvm-rg350-cadb7176bc6336de2ee05c3465e9954157a8e4a6.tar.gz scummvm-rg350-cadb7176bc6336de2ee05c3465e9954157a8e4a6.tar.bz2 scummvm-rg350-cadb7176bc6336de2ee05c3465e9954157a8e4a6.zip | |
XEEN: Fix error in vertMerge
| -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);  		}  	}  } | 
