diff options
Diffstat (limited to 'engines/voyeur/graphics.cpp')
-rw-r--r-- | engines/voyeur/graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/voyeur/graphics.cpp b/engines/voyeur/graphics.cpp index 53404c9ef8..00f945e174 100644 --- a/engines/voyeur/graphics.cpp +++ b/engines/voyeur/graphics.cpp @@ -111,7 +111,6 @@ void GraphicsManager::addRectNoSaveBack(ViewPortResource *viewPort, int idx, con void GraphicsManager::sDrawPic(DisplayResource *srcDisplay, DisplayResource *destDisplay, const Common::Point &initialOffset) { - int imageDataShift = 0; int width1, width2; int widthDiff, widthDiff2; int height1; @@ -247,6 +246,7 @@ void GraphicsManager::sDrawPic(DisplayResource *srcDisplay, DisplayResource *des } if (srcFlags & DISPFLAG_1000) { + int imageDataShift = 0; srcImgData = srcPic->_imgData + (imageDataShift << 14); for (uint idx = 0; idx < srcPic->_maskData; ++idx) { if (imageDataShift < 4) |