The psychic profile background is displayed correctly again

svn-id: r28380
This commit is contained in:
Filippos Karapetis 2007-08-01 02:37:29 +00:00
parent 4abcd58c76
commit b58d259f7e
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;