From 7dcfa9ef4c849251e32b60f5d3cd609fb0fd2921 Mon Sep 17 00:00:00 2001 From: richiesams Date: Mon, 19 Aug 2013 23:55:36 -0500 Subject: ZVISION: Call RenderManager::update() before ScriptManager::update() This ensures the background will be rendered before anything from Puzzles or Controls --- engines/zvision/zvision.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/engines/zvision/zvision.cpp b/engines/zvision/zvision.cpp index 080c763342..c32e78214f 100644 --- a/engines/zvision/zvision.cpp +++ b/engines/zvision/zvision.cpp @@ -135,8 +135,10 @@ Common::Error ZVision::run() { processEvents(); - _scriptManager->update(deltaTime); + // Call _renderManager->update() first so the background renders + // before anything that puzzles/controls will render _renderManager->update(deltaTime); + _scriptManager->update(deltaTime); // Update the screen _system->updateScreen(); -- cgit v1.2.3