[Scummvm-git-logs] scummvm master -> c5fc150cd52848ca3597bd35cff7125e6078ea3b

bluegr noreply at scummvm.org
Sun Mar 6 10:00:07 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:
c5fc150cd5 NGI: Fix #10396: Rolling bridge is wrong state


Commit: c5fc150cd52848ca3597bd35cff7125e6078ea3b
    https://github.com/scummvm/scummvm/commit/c5fc150cd52848ca3597bd35cff7125e6078ea3b
Author: Pragyansh Chaturvedi (r41k0u) (pragyanshchaturvedi18 at gmail.com)
Date: 2022-03-06T12:00:03+02:00

Commit Message:
NGI: Fix #10396: Rolling bridge is wrong state

Changed paths:
    engines/ngi/fullpipe/scene13.cpp


diff --git a/engines/ngi/fullpipe/scene13.cpp b/engines/ngi/fullpipe/scene13.cpp
index 9fc53f9d26c..c45d5198a59 100644
--- a/engines/ngi/fullpipe/scene13.cpp
+++ b/engines/ngi/fullpipe/scene13.cpp
@@ -84,6 +84,7 @@ void scene13_initScene(Scene *sc) {
 
 void sceneHandler13_openBridge() {
 	Movement *mov = g_vars->scene13_bridge->_movement;
+	g_nmi->setObjectState(sO_Bridge, g_nmi->getObjectEnumState(sO_Bridge, sO_IsFree));
 
 	if (mov && mov->_id == MV_BDG_CLOSE) {
 		int sz;




More information about the Scummvm-git-logs mailing list