[Scummvm-git-logs] scummvm master -> 2c3dd1f2ce1e3705ab3e9083ddd10ae249bdb0a7
elasota
noreply at scummvm.org
Wed Jun 14 06:09:35 UTC 2023
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:
2c3dd1f2ce MTROPOLIS: Add hack to fix Beaker flyby playing behind the door
Commit: 2c3dd1f2ce1e3705ab3e9083ddd10ae249bdb0a7
https://github.com/scummvm/scummvm/commit/2c3dd1f2ce1e3705ab3e9083ddd10ae249bdb0a7
Author: elasota (ejlasota at gmail.com)
Date: 2023-06-14T02:09:22-04:00
Commit Message:
MTROPOLIS: Add hack to fix Beaker flyby playing behind the door
Changed paths:
engines/mtropolis/hacks.cpp
diff --git a/engines/mtropolis/hacks.cpp b/engines/mtropolis/hacks.cpp
index ef5a9badf01..7cd777fe2ea 100644
--- a/engines/mtropolis/hacks.cpp
+++ b/engines/mtropolis/hacks.cpp
@@ -1195,6 +1195,9 @@ void MTIStructuralHooks::onPostActivate(Structural *structural) {
} else if (name == "B01c_newsponge.tun") {
structural->setHooks(Common::SharedPtr<StructuralHooks>(new MTIMolassesSpongeHooks(_molassesHandler)));
structural->getHooks()->onPostActivate(structural);
+ } else if (name == "E01_Beakerfly.tun") {
+ // Beaker flyby in the intro is on layer 4, but the door is on layer 11
+ static_cast<VisualElement *>(structural)->setLayer(12);
}
}
More information about the Scummvm-git-logs
mailing list