diff options
author | Filippos Karapetis | 2007-08-01 02:37:29 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-08-01 02:37:29 +0000 |
commit | b58d259f7ee00f6cff86afc48f713979db8a31a0 (patch) | |
tree | ff306f362b3b55872590db423083bf0bb98185b3 /engines | |
parent | 4abcd58c76434c3bc995fc92c9d6223d4f577a32 (diff) | |
download | scummvm-rg350-b58d259f7ee00f6cff86afc48f713979db8a31a0.tar.gz scummvm-rg350-b58d259f7ee00f6cff86afc48f713979db8a31a0.tar.bz2 scummvm-rg350-b58d259f7ee00f6cff86afc48f713979db8a31a0.zip |
The psychic profile background is displayed correctly again
svn-id: r28380
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; |