aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/ringworld2/ringworld2_logic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tsage/ringworld2/ringworld2_logic.cpp')
-rw-r--r--engines/tsage/ringworld2/ringworld2_logic.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_logic.cpp b/engines/tsage/ringworld2/ringworld2_logic.cpp
index e8d51109b1..f54efb5a8a 100644
--- a/engines/tsage/ringworld2/ringworld2_logic.cpp
+++ b/engines/tsage/ringworld2/ringworld2_logic.cpp
@@ -387,9 +387,13 @@ void SceneExt::postInit(SceneObjectList *OwnerList) {
int prevScene = R2_GLOBALS._sceneManager._previousScene;
int sceneNumber = R2_GLOBALS._sceneManager._sceneNumber;
if (g_vm->getFeatures() & GF_DEMO) {
- if (((prevScene == -1) && (sceneNumber != 180) && (sceneNumber != 205) && (sceneNumber != 50))
+ if (prevScene == 0 && sceneNumber == 180) {
+ // Very start of the demo, title & intro about to be shown
+ R2_GLOBALS._uiElements._active = false;
+ R2_GLOBALS._uiElements.hide();
+ } else if (((prevScene == -1) && (sceneNumber != 180) && (sceneNumber != 205) && (sceneNumber != 50))
|| (prevScene == 0) || (sceneNumber == 600)
- || ((prevScene == 205 || prevScene == 180) && (sceneNumber == 100))) {
+ || ((prevScene == 205 || prevScene == 180 || prevScene == 50) && (sceneNumber == 100))) {
R2_GLOBALS._uiElements._active = true;
R2_GLOBALS._uiElements.show();
} else {