diff options
author | Eugene Sandulenko | 2005-09-02 20:52:14 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-09-02 20:52:14 +0000 |
commit | 720961565aa33b478b2593521207d8f416271ffd (patch) | |
tree | 5b0aec80f7d02cd1ff2e6193cd12807e2655258d /saga | |
parent | c8a2de6e6edb3e21ede70e44a9c39cc0c00a63a6 (diff) | |
download | scummvm-rg350-720961565aa33b478b2593521207d8f416271ffd.tar.gz scummvm-rg350-720961565aa33b478b2593521207d8f416271ffd.tar.bz2 scummvm-rg350-720961565aa33b478b2593521207d8f416271ffd.zip |
Fix bug #1258489 "ITE: Rif's tail remains in door at Alamma's house"
svn-id: r18739
Diffstat (limited to 'saga')
-rw-r--r-- | saga/scene.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/saga/scene.cpp b/saga/scene.cpp index 951e3896b2..1e1ac21434 100644 --- a/saga/scene.cpp +++ b/saga/scene.cpp @@ -1189,11 +1189,18 @@ void Scene::endScene() { _vm->_script->_skipSpeeches = false; // Copy current screen to render buffer so inset rooms will get proper background - backBuffer= _vm->_gfx->getBackBuffer(); backGroundSurface = _vm->_render->getBackGroundSurface(); - backBuffer->getRect(rect); + if (!(_sceneDescription.flags & kSceneFlagISO)) { + BGInfo bgInfo; + + _vm->_scene->getBGInfo(bgInfo); + backGroundSurface->blit(bgInfo.bounds, bgInfo.buffer); + } else { + backBuffer = _vm->_gfx->getBackBuffer(); + backBuffer->getRect(rect); + backGroundSurface->blit(rect, (const byte *)backBuffer->pixels); + } - backGroundSurface->blit(rect, (const byte *)backBuffer->pixels); // Free scene background if (_bg.loaded) { free(_bg.buf); |