diff options
author | Eugene Sandulenko | 2016-09-15 15:51:34 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-15 15:51:34 +0200 |
commit | 0f955b40d7eaa259416ca6fb77f326fe2b98f387 (patch) | |
tree | f0c8de8e879c72aa1db8b125c8b15fe879a7d1c3 | |
parent | 1d6d11192e9b9963ca0549f12eb861c7b687a807 (diff) | |
download | scummvm-rg350-0f955b40d7eaa259416ca6fb77f326fe2b98f387.tar.gz scummvm-rg350-0f955b40d7eaa259416ca6fb77f326fe2b98f387.tar.bz2 scummvm-rg350-0f955b40d7eaa259416ca6fb77f326fe2b98f387.zip |
FULLPIPE: Some renames in scene28
-rw-r--r-- | engines/fullpipe/scenes/scene28.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/fullpipe/scenes/scene28.cpp b/engines/fullpipe/scenes/scene28.cpp index e67bc41614..503facfa87 100644 --- a/engines/fullpipe/scenes/scene28.cpp +++ b/engines/fullpipe/scenes/scene28.cpp @@ -244,12 +244,12 @@ void sceneHandler28_lift6Start() { chainQueue(QU_SC28_LIFT6_START, 1); } -void sceneHandler28_clickLift(int keycode) { +void sceneHandler28_clickLift(int numLift) { int x = 0; - debugC(2, kDebugSceneLogic, "scene28: clickLift(%d)", keycode); + debugC(2, kDebugSceneLogic, "scene28: clickLift(%d)", numLift); - switch (keycode) { + switch (numLift) { case 0: x = 600; break; case 1: x = 824; break; case 2: x = 1055; break; @@ -268,14 +268,14 @@ void sceneHandler28_clickLift(int keycode) { if (mq) { ExCommand *ex = new ExCommand(0, 17, MSG_SC28_CLICKLIFT, 0, 0, 0, 1, 0, 0, 0); ex->_excFlags |= 3; - ex->_param = keycode; + ex->_param = numLift; mq->addExCommandToEnd(ex); postExCommand(g_fp->_aniMan->_id, 2, x, 472, 0, -1); } } else { - switch (keycode) { + switch (numLift) { case 0: sceneHandler28_lift0Start(); break; |