diff options
author | Paul Gilbert | 2015-03-25 22:41:42 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-03-25 22:41:42 -0400 |
commit | 94d79c0ed36269fe1c7bbf08871329d166acc2f0 (patch) | |
tree | 508f8b33768a8ec491b79d1ff053a98d5ec465e3 | |
parent | b280d72ab8de6f6fe77d0957de1b651b9fdb264c (diff) | |
download | scummvm-rg350-94d79c0ed36269fe1c7bbf08871329d166acc2f0.tar.gz scummvm-rg350-94d79c0ed36269fe1c7bbf08871329d166acc2f0.tar.bz2 scummvm-rg350-94d79c0ed36269fe1c7bbf08871329d166acc2f0.zip |
SHERLOCK: Fix restoring background before drawing new sprites
-rw-r--r-- | engines/sherlock/scene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/scene.cpp b/engines/sherlock/scene.cpp index b00e07a8a7..0cb6d7721b 100644 --- a/engines/sherlock/scene.cpp +++ b/engines/sherlock/scene.cpp @@ -1175,7 +1175,7 @@ void Scene::doBgAnim() { for (uint idx = 0; idx < _bgShapes.size(); ++idx) { Object &o = _bgShapes[idx]; if (o._type == ACTIVE_BG_SHAPE || o._type == HIDE_SHAPE || o._type == REMOVE) - screen.restoreBackground(bounds); + screen.restoreBackground(o.getOldBounds()); } if (people._portraitLoaded) |