aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/sprites.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/sprites.cpp')
-rw-r--r--engines/xeen/sprites.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/sprites.cpp b/engines/xeen/sprites.cpp
index 3491f6fc7b..b29fb2d053 100644
--- a/engines/xeen/sprites.cpp
+++ b/engines/xeen/sprites.cpp
@@ -185,7 +185,7 @@ void SpriteResource::drawOffset(XSurface &dest, uint16 offset, const Common::Poi
destPos.y++;
} else {
scaleMaskX = scaleMaskXCopy;
- int xOffset = f.readByte();
+ xOffset = f.readByte();
// Initialize the array to hold the temporary data for the line. We do this to make it simpler
// to handle both deciding which pixels to draw in a scaled image, as well as when images