aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/backgroundIncrust.cpp
diff options
context:
space:
mode:
authorVincent Hamm2007-12-25 18:36:08 +0000
committerVincent Hamm2007-12-25 18:36:08 +0000
commit7159cc26df94e5c75c58804c035d8649601d958b (patch)
treee76e1d90f2383f4c4190a726f09b73b916f7773b /engines/cruise/backgroundIncrust.cpp
parenta2d2f01835975aa28cbb03d56468abbc894643dd (diff)
downloadscummvm-rg350-7159cc26df94e5c75c58804c035d8649601d958b.tar.gz
scummvm-rg350-7159cc26df94e5c75c58804c035d8649601d958b.tar.bz2
scummvm-rg350-7159cc26df94e5c75c58804c035d8649601d958b.zip
Fix blinking character
svn-id: r29987
Diffstat (limited to 'engines/cruise/backgroundIncrust.cpp')
-rw-r--r--engines/cruise/backgroundIncrust.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cruise/backgroundIncrust.cpp b/engines/cruise/backgroundIncrust.cpp
index a3f92c6127..e4a716b25a 100644
--- a/engines/cruise/backgroundIncrust.cpp
+++ b/engines/cruise/backgroundIncrust.cpp
@@ -177,7 +177,7 @@ backgroundIncrustStruct *addBackgroundIncrust(int16 overlayIdx, int16 objectIdx,
int width = (sizeTable[1]+2) - (sizeTable[0]-2) + 1;
int height = sizeTable[3]-sizeTable[2]+1;
- backupBackground(newElement, newElement->X, newElement->Y, width, height, backgroundPtr);
+ backupBackground(newElement, sizeTable[0]-2, sizeTable[2], width, height, backgroundPtr);
}
addBackgroundIncrustSub1(params.fileIdx, newElement->X, newElement->Y, NULL, params.scale, (char *)backgroundPtr, (char *)filesDatabase[params.fileIdx].subData.ptr);