aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes/scene26.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-09-04 23:54:43 +0200
committerEugene Sandulenko2016-09-04 23:54:43 +0200
commit26f55005b3dad33a6ca9ff0b9d0df98bb4478be0 (patch)
tree2b078a8ad98a5fae0a63f7aaf23bd1f7802ad243 /engines/fullpipe/scenes/scene26.cpp
parenta3238fdbac5c2b3c0cd5b7e753321c3973fe8a3b (diff)
downloadscummvm-rg350-26f55005b3dad33a6ca9ff0b9d0df98bb4478be0.tar.gz
scummvm-rg350-26f55005b3dad33a6ca9ff0b9d0df98bb4478be0.tar.bz2
scummvm-rg350-26f55005b3dad33a6ca9ff0b9d0df98bb4478be0.zip
FULLPIPE: Rename in ExCommand structure
Diffstat (limited to 'engines/fullpipe/scenes/scene26.cpp')
-rw-r--r--engines/fullpipe/scenes/scene26.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/fullpipe/scenes/scene26.cpp b/engines/fullpipe/scenes/scene26.cpp
index e8a0261524..df7accc959 100644
--- a/engines/fullpipe/scenes/scene26.cpp
+++ b/engines/fullpipe/scenes/scene26.cpp
@@ -263,7 +263,7 @@ void sceneHandler26_clickVent(StaticANIObject *ani, ExCommand *cmd) {
ExCommand *ex = new ExCommand(0, 17, MSG_SC26_CLICKVENT, 0, 0, 0, 1, 0, 0, 0);
ex->_excFlags |= 3;
- ex->_keyCode = ani->_okeyCode;
+ ex->_param = ani->_okeyCode;
mq->addExCommandToEnd(ex);
@@ -309,7 +309,7 @@ int sceneHandler26(ExCommand *cmd) {
case MSG_SC26_CLICKVENT:
{
- StaticANIObject *ani = g_fp->_currentScene->getStaticANIObject1ById(ANI_VENT, cmd->_keyCode);
+ StaticANIObject *ani = g_fp->_currentScene->getStaticANIObject1ById(ANI_VENT, cmd->_param);
if (ani && ani->_id == ANI_VENT)
sceneHandler26_clickVent(ani, cmd);