diff options
| author | Paul Gilbert | 2009-09-11 11:02:15 +0000 |
|---|---|---|
| committer | Paul Gilbert | 2009-09-11 11:02:15 +0000 |
| commit | bb940539605153a6d981ad787f1868db2977b7e8 (patch) | |
| tree | e29e3ba77575d625cf56106cfe4d186c80d1ab1f | |
| parent | 8d2482813a6672da6f98c9a2d910f8e885b9e518 (diff) | |
| download | scummvm-rg350-bb940539605153a6d981ad787f1868db2977b7e8.tar.gz scummvm-rg350-bb940539605153a6d981ad787f1868db2977b7e8.tar.bz2 scummvm-rg350-bb940539605153a6d981ad787f1868db2977b7e8.zip | |
Bugfix for the boundaries of changing objects used for dirty rect calculations
svn-id: r44031
| -rw-r--r-- | engines/cruise/mainDraw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cruise/mainDraw.cpp b/engines/cruise/mainDraw.cpp index 61e8f8d85c..fe5454d57f 100644 --- a/engines/cruise/mainDraw.cpp +++ b/engines/cruise/mainDraw.cpp @@ -1211,7 +1211,7 @@ void drawSprite(int width, int height, cellStruct *currentObjPtr, const uint8 *d int y = 0; // Flag the given area as having been changed - gfxModuleData_addDirtyRect(Common::Rect(xs, ys, xs + width - 1, ys + height - 1)); + gfxModuleData_addDirtyRect(Common::Rect(xs, ys, xs + width, ys + height)); cellStruct* plWork = currentObjPtr; int workBufferSize = height * (width / 8); |
