diff options
Diffstat (limited to 'engines/tinsel/graphics.cpp')
-rw-r--r-- | engines/tinsel/graphics.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/tinsel/graphics.cpp b/engines/tinsel/graphics.cpp index 91dfd76b98..b917775360 100644 --- a/engines/tinsel/graphics.cpp +++ b/engines/tinsel/graphics.cpp @@ -248,7 +248,6 @@ static void MacDrawTiles(DRAWOBJECT *pObj, uint8 *srcP, uint8 *destP, bool apply // Repeat of a given color byte color = *srcP++; int runLength = repeatBytes - clipAmount; - int rptLength = MAX(MIN(runLength, pObj->width - rightClip - x), 0); if (yClip == 0) { if (color != 0) @@ -264,7 +263,6 @@ static void MacDrawTiles(DRAWOBJECT *pObj, uint8 *srcP, uint8 *destP, bool apply uint clipAmount = MIN<int>(copyBytes, leftClip); leftClip -= clipAmount; x += clipAmount; - srcP += clipAmount; int runLength = copyBytes - clipAmount; |