aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes/scene17.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/scenes/scene17.cpp')
-rw-r--r--engines/fullpipe/scenes/scene17.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/fullpipe/scenes/scene17.cpp b/engines/fullpipe/scenes/scene17.cpp
index f19fd030e0..3ea35b7024 100644
--- a/engines/fullpipe/scenes/scene17.cpp
+++ b/engines/fullpipe/scenes/scene17.cpp
@@ -211,11 +211,11 @@ int sceneHandler17(ExCommand *cmd) {
int pic = g_fp->_currentScene->getPictureObjectIdAtPos(cmd->_sceneClickX, cmd->_sceneClickY);
if (pic == PIC_SC17_RTRUBA2 || pic == PIC_SC17_RTRUBA) {
- if (cmd->_keyCode == ANI_INV_COIN || cmd->_keyCode == ANI_INV_BOOT || cmd->_keyCode == ANI_INV_HAMMER) {
+ if (cmd->_param == ANI_INV_COIN || cmd->_param == ANI_INV_BOOT || cmd->_param == ANI_INV_HAMMER) {
if (g_vars->scene17_handPhase) {
if (g_fp->_aniMan->isIdle()) {
if (!(g_fp->_aniMan->_flags & 0x100)) {
- handleObjectInteraction(g_fp->_aniMan, g_vars->scene17_hand, cmd->_keyCode);
+ handleObjectInteraction(g_fp->_aniMan, g_vars->scene17_hand, cmd->_param);
break;
}
}