diff options
Diffstat (limited to 'engines/saga/puzzle.cpp')
-rw-r--r-- | engines/saga/puzzle.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/saga/puzzle.cpp b/engines/saga/puzzle.cpp index 2835775320..e37892693c 100644 --- a/engines/saga/puzzle.cpp +++ b/engines/saga/puzzle.cpp @@ -203,12 +203,11 @@ void Puzzle::showPieces(void) { void Puzzle::drawCurrentPiece() { ActorData *puzzle = _vm->_actor->getActor(_vm->_actor->actorIndexToId(ITE_ACTOR_PUZZLE)); - Surface *backBuffer = _vm->_gfx->getBackBuffer(); int frameNumber; SpriteList *spriteList; _vm->_actor->getSpriteParams(puzzle, frameNumber, spriteList); - _vm->_sprite->draw(backBuffer, _vm->_scene->getSceneClip(), *spriteList, _puzzlePiece, + _vm->_sprite->draw(_vm->_gfx->getBackBuffer(), _vm->_scene->getSceneClip(), *spriteList, _puzzlePiece, Point(_pieceInfo[_puzzlePiece].curX, _pieceInfo[_puzzlePiece].curY), 256); } |