aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes/scene13.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/scene13.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/scene13.cpp')
-rw-r--r--engines/fullpipe/scenes/scene13.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/fullpipe/scenes/scene13.cpp b/engines/fullpipe/scenes/scene13.cpp
index 59be7a5e85..9908b9a7c9 100644
--- a/engines/fullpipe/scenes/scene13.cpp
+++ b/engines/fullpipe/scenes/scene13.cpp
@@ -313,11 +313,11 @@ int sceneHandler13(ExCommand *cmd) {
{
StaticANIObject *ani = g_fp->_currentScene->getStaticANIObjectAtPos(cmd->_sceneClickX, cmd->_sceneClickY);
- if (!ani || !canInteractAny(g_fp->_aniMan, ani, cmd->_keyCode)) {
+ if (!ani || !canInteractAny(g_fp->_aniMan, ani, cmd->_param)) {
int picId = g_fp->_currentScene->getPictureObjectIdAtPos(cmd->_sceneClickX, cmd->_sceneClickY);
PictureObject *pic = g_fp->_currentScene->getPictureObjectById(picId, 0);
- if (!pic || !canInteractAny(g_fp->_aniMan, pic, cmd->_keyCode)) {
+ if (!pic || !canInteractAny(g_fp->_aniMan, pic, cmd->_param)) {
if ((g_fp->_sceneRect.right - cmd->_sceneClickX < 47
&& g_fp->_sceneRect.right < g_fp->_sceneWidth - 1)
|| (cmd->_sceneClickX - g_fp->_sceneRect.left < 47 && g_fp->_sceneRect.left > 0)) {