diff options
Diffstat (limited to 'engines/saga/sprite.cpp')
-rw-r--r-- | engines/saga/sprite.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/saga/sprite.cpp b/engines/saga/sprite.cpp index df387f4fff..4e0d9c6f75 100644 --- a/engines/saga/sprite.cpp +++ b/engines/saga/sprite.cpp @@ -372,7 +372,6 @@ void Sprite::drawOccluded(SpriteList &spriteList, uint spriteNumber, const Point int maskWidth; int maskHeight; byte *maskBuffer; - size_t maskBufferLength; byte *maskRowPointer; int maskZ; @@ -381,7 +380,7 @@ void Sprite::drawOccluded(SpriteList &spriteList, uint spriteNumber, const Point return; } - _vm->_scene->getBGMaskInfo(maskWidth, maskHeight, maskBuffer, maskBufferLength); + _vm->_scene->getBGMaskInfo(maskWidth, maskHeight, maskBuffer); getScaledSpriteBuffer(spriteList, spriteNumber, scale, width, height, xAlign, yAlign, spriteBuffer); |