[Scummvm-git-logs] scummvm master -> 60326023b54545ead2437965a390b0ac3a0c7cba
sev-
sev at scummvm.org
Sat Oct 1 15:10:39 CEST 2016
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:
60326023b5 FULLPIPE: Scene26: Fix valves interaction
Commit: 60326023b54545ead2437965a390b0ac3a0c7cba
https://github.com/scummvm/scummvm/commit/60326023b54545ead2437965a390b0ac3a0c7cba
Author: Retro-Junk (bambarbee at yandex.ru)
Date: 2016-10-01T15:00:29+02:00
Commit Message:
FULLPIPE: Scene26: Fix valves interaction
Changed paths:
engines/fullpipe/scenes/scene26.cpp
diff --git a/engines/fullpipe/scenes/scene26.cpp b/engines/fullpipe/scenes/scene26.cpp
index d183ee9..e36d907 100644
--- a/engines/fullpipe/scenes/scene26.cpp
+++ b/engines/fullpipe/scenes/scene26.cpp
@@ -241,7 +241,7 @@ void sceneHandler26_animateVents(StaticANIObject *ani) {
}
if (qId) {
- MessageQueue *mq = g_fp->_currentScene->getMessageQueueById(qId);
+ MessageQueue *mq = new MessageQueue(g_fp->_currentScene->getMessageQueueById(qId), 0, 0);
mq->setFlags(mq->getFlags() | 1);
mq->chain(0);
@@ -249,7 +249,7 @@ void sceneHandler26_animateVents(StaticANIObject *ani) {
}
void sceneHandler26_clickVent(StaticANIObject *ani, ExCommand *cmd) {
- if (ani->_odelay || g_fp->getObjectState(sO_Hatch_26) == g_fp->getObjectEnumState(sO_Hatch_26, sO_Opened)) {
+ if (ani->_odelay || g_fp->getObjectState(sO_Hatch_26) != g_fp->getObjectEnumState(sO_Hatch_26, sO_Opened)) {
if (g_fp->_aniMan->isIdle() && !(g_fp->_aniMan->_flags & 0x100)) {
g_vars->scene26_activeVent = ani;
More information about the Scummvm-git-logs
mailing list