aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2014-09-20 10:19:06 -0400
committerPaul Gilbert2014-09-20 10:19:06 -0400
commitc1fcd5aa28633b65dd24ff5aae9f896351808f0c (patch)
treeb94c48103ebe9ba60855b8792f7454b0ec9362e7 /engines
parenta9bc36c6b5d4495dd7a7ce2f28f9023bdcab71aa (diff)
downloadscummvm-rg350-c1fcd5aa28633b65dd24ff5aae9f896351808f0c.tar.gz
scummvm-rg350-c1fcd5aa28633b65dd24ff5aae9f896351808f0c.tar.bz2
scummvm-rg350-c1fcd5aa28633b65dd24ff5aae9f896351808f0c.zip
TSAGE: Fix for bug #6734 - insetUp being incorrect
Diffstat (limited to 'engines')
-rw-r--r--engines/tsage/ringworld2/ringworld2_logic.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_logic.cpp b/engines/tsage/ringworld2/ringworld2_logic.cpp
index 99188c1ab6..99913d87b0 100644
--- a/engines/tsage/ringworld2/ringworld2_logic.cpp
+++ b/engines/tsage/ringworld2/ringworld2_logic.cpp
@@ -355,6 +355,11 @@ SceneExt::SceneExt(): Scene() {
// to make inter-scene debugging easier, I'm explicitly resetting the _animationCtr
// on scene start, since scene objects aren't drawn while it's non-zero
R2_GLOBALS._animationCtr = 0;
+
+ // WORKAROUND: We had a case where at some point the number of modal dialogs
+ // open became incorrect. So reset it on scene changes to fix the problem if
+ // it ever happens
+ R2_GLOBALS._insetUp = 0;
}
void SceneExt::synchronize(Serializer &s) {