aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-04-12 19:43:43 +0200
committerEugene Sandulenko2016-04-12 19:43:43 +0200
commit01fb992097e525cfd2932e942d7b52dbb3bc3a5d (patch)
tree0fa2d7406fe622dc61afa27ca8ab2546c73b9ddb
parent5741915aa0ef202bf79275cb2386f261689d5d84 (diff)
downloadscummvm-rg350-01fb992097e525cfd2932e942d7b52dbb3bc3a5d.tar.gz
scummvm-rg350-01fb992097e525cfd2932e942d7b52dbb3bc3a5d.tar.bz2
scummvm-rg350-01fb992097e525cfd2932e942d7b52dbb3bc3a5d.zip
WAGE: Redraw scene on object move to match original.
Still buggy a bit
-rw-r--r--engines/wage/wage.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp
index aa480b63fe..3a52aed1c4 100644
--- a/engines/wage/wage.cpp
+++ b/engines/wage/wage.cpp
@@ -388,6 +388,7 @@ void WageEngine::onMove(Designed *what, Designed *from, Designed *to) {
if (!_temporarilyHidden) {
if (to == currentScene || from == currentScene) {
redrawScene();
+ g_system->updateScreen();
g_system->delayMillis(100);
}
}
@@ -399,6 +400,7 @@ void WageEngine::redrawScene() {
if (currentScene != NULL) {
bool firstTime = (_lastScene != currentScene);
+ _gui->draw();
updateSoundTimerForScene(currentScene, firstTime);
}
}