[Scummvm-git-logs] scummvm master -> 7ac9be5cfdb4c188318b29c1e287ccc4e32a558b
elasota
noreply at scummvm.org
Sat Jul 16 02:18:04 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
7ac9be5cfd MTROPOLIS: Fix incorrect cascade flag on scene change messages
Commit: 7ac9be5cfdb4c188318b29c1e287ccc4e32a558b
https://github.com/scummvm/scummvm/commit/7ac9be5cfdb4c188318b29c1e287ccc4e32a558b
Author: elasota (ejlasota at gmail.com)
Date: 2022-07-15T22:08:23-04:00
Commit Message:
MTROPOLIS: Fix incorrect cascade flag on scene change messages
Changed paths:
engines/mtropolis/runtime.cpp
diff --git a/engines/mtropolis/runtime.cpp b/engines/mtropolis/runtime.cpp
index 257f3152868..a4e52895c1f 100644
--- a/engines/mtropolis/runtime.cpp
+++ b/engines/mtropolis/runtime.cpp
@@ -4431,12 +4431,12 @@ void Runtime::executeSharedScenePostSceneChangeActions() {
const Common::Array<Common::SharedPtr<Structural> > &subsectionScenes = subsection->getChildren();
- queueEventAsLowLevelSceneStateTransitionAction(Event::create(EventIDs::kSharedSceneSceneChanged, 0), _activeSharedScene.get(), false, true);
+ queueEventAsLowLevelSceneStateTransitionAction(Event::create(EventIDs::kSharedSceneSceneChanged, 0), _activeSharedScene.get(), true, true);
if (subsectionScenes.size() > 1) {
if (_activeMainScene == subsectionScenes[subsectionScenes.size() - 1])
- queueEventAsLowLevelSceneStateTransitionAction(Event::create(EventIDs::kSharedSceneNoNextScene, 0), _activeSharedScene.get(), false, true);
+ queueEventAsLowLevelSceneStateTransitionAction(Event::create(EventIDs::kSharedSceneNoNextScene, 0), _activeSharedScene.get(), true, true);
if (_activeMainScene == subsectionScenes[1])
- queueEventAsLowLevelSceneStateTransitionAction(Event::create(EventIDs::kSharedSceneNoPrevScene, 0), _activeSharedScene.get(), false, true);
+ queueEventAsLowLevelSceneStateTransitionAction(Event::create(EventIDs::kSharedSceneNoPrevScene, 0), _activeSharedScene.get(), true, true);
}
}
More information about the Scummvm-git-logs
mailing list