diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/saga/events.cpp | 3 | ||||
-rw-r--r-- | engines/saga/sfuncs.cpp | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/saga/events.cpp b/engines/saga/events.cpp index b7f65b9f83..80e6b58595 100644 --- a/engines/saga/events.cpp +++ b/engines/saga/events.cpp @@ -364,8 +364,9 @@ int Events::handleOneShot(Event *event) { const PalEntry *palette = (const PalEntry *)_vm->getImagePal(resourceData, resourceDataLength); Surface *bgSurface = _vm->_render->getBackGroundSurface(); + const Rect profileRect(width, height); - bgSurface->blit(rect, buf); + bgSurface->blit(profileRect, buf); _vm->_frameCount++; _vm->_gfx->setPalette(palette); diff --git a/engines/saga/sfuncs.cpp b/engines/saga/sfuncs.cpp index b468d4482f..c0e105a8fd 100644 --- a/engines/saga/sfuncs.cpp +++ b/engines/saga/sfuncs.cpp @@ -1418,7 +1418,6 @@ void Script::sfPlacardOff(SCRIPTFUNC_PARAMS) { void Script::sfPsychicProfile(SCRIPTFUNC_PARAMS) { int stringId; - //Surface *backBuffer = _vm->_gfx->getBackBuffer(); static PalEntry cur_pal[PAL_ENTRIES]; PalEntry *pal; Event event; |