diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/m4/sprite.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/m4/sprite.cpp b/engines/m4/sprite.cpp index 48a36ac26e..4ce1b75b35 100644 --- a/engines/m4/sprite.cpp +++ b/engines/m4/sprite.cpp @@ -125,8 +125,8 @@ void M4Sprite::loadMadsSprite(Common::SeekableReadStream* source) { fillRect(bounds(), TRANSPARENT_COLOUR_INDEX); // Major line loop - for (int y2 = 0; y2 < h; ++y2) { - byte *destP = getBasePtr(0, y); + for (int yp = 0; yp < h; ++yp) { + byte *destP = getBasePtr(0, yp); bool newLine = false; byte cmd = source->readByte(); int x2 = 0; |