aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes/scene16.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/scenes/scene16.cpp')
-rw-r--r--engines/fullpipe/scenes/scene16.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/fullpipe/scenes/scene16.cpp b/engines/fullpipe/scenes/scene16.cpp
index 5079863b4e..cb21f28103 100644
--- a/engines/fullpipe/scenes/scene16.cpp
+++ b/engines/fullpipe/scenes/scene16.cpp
@@ -181,7 +181,7 @@ void sceneHandler16_fillMug() {
if (g_vars->scene16_walkingBoy) {
mq = new MessageQueue(g_fp->_currentScene->getMessageQueueById(QU_SC16_BOYOUT), 0, 1);
- mq->replaceKeyCode(-1, g_vars->scene16_walkingBoy->_okeyCode);
+ mq->setParamInt(-1, g_vars->scene16_walkingBoy->_okeyCode);
if (mq->chain(g_vars->scene16_walkingBoy))
return;
} else {
@@ -190,7 +190,7 @@ void sceneHandler16_fillMug() {
mq = new MessageQueue(g_fp->_currentScene->getMessageQueueById(QU_SC16_GIRLOUT), 0, 1);
- mq->replaceKeyCode(-1, g_vars->scene16_walkingGirl->_okeyCode);
+ mq->setParamInt(-1, g_vars->scene16_walkingGirl->_okeyCode);
if (mq->chain(g_vars->scene16_walkingGirl))
return;
}
@@ -208,7 +208,7 @@ void sceneHandler16_fillMug() {
if (g_vars->scene16_walkingBoy) {
mq = new MessageQueue(g_fp->_currentScene->getMessageQueueById(QU_SC16_BOYOUT), 0, 1);
- mq->replaceKeyCode(-1, g_vars->scene16_walkingBoy->_okeyCode);
+ mq->setParamInt(-1, g_vars->scene16_walkingBoy->_okeyCode);
ani = g_vars->scene16_walkingBoy;
} else {
@@ -217,7 +217,7 @@ void sceneHandler16_fillMug() {
mq = new MessageQueue(g_fp->_currentScene->getMessageQueueById(QU_SC16_GIRLOUT), 0, 1);
- mq->replaceKeyCode(-1, g_vars->scene16_walkingGirl->_okeyCode);
+ mq->setParamInt(-1, g_vars->scene16_walkingGirl->_okeyCode);
ani = g_vars->scene16_walkingGirl;
}
@@ -232,7 +232,7 @@ void sceneHandler16_startLaugh() {
MessageQueue *mq = new MessageQueue(g_fp->_currentScene->getMessageQueueById(QU_SC16_GIRLLAUGH), 0, 1);
- mq->replaceKeyCode(-1, girl->_okeyCode);
+ mq->setParamInt(-1, girl->_okeyCode);
mq->setFlags(mq->getFlags() | 1);
mq->chain(0);
@@ -258,7 +258,7 @@ void sceneHandler16_drink() {
mq = new MessageQueue(g_fp->_currentScene->getMessageQueueById(QU_SC16_BOYKICK), 0, 1);
- mq->replaceKeyCode(-1, g_vars->scene16_walkingBoy->_okeyCode);
+ mq->setParamInt(-1, g_vars->scene16_walkingBoy->_okeyCode);
ex = new ExCommand(ANI_MAN, 34, 384, 0, 0, 0, 1, 0, 0, 0);
ex->_excFlags |= 3u;
@@ -361,7 +361,7 @@ void sceneHandler16_putOnWheel() {
if (ani->_id == ANI_BOY) {
mq = new MessageQueue(g_fp->_currentScene->getMessageQueueById(QU_SC16_GOBOY), 0, 1);
- mq->replaceKeyCode(-1, ani->_okeyCode);
+ mq->setParamInt(-1, ani->_okeyCode);
mq->chain(0);
g_vars->scene16_walkingBoy = ani;
@@ -370,7 +370,7 @@ void sceneHandler16_putOnWheel() {
if (g_fp->getObjectState(sO_Girl) == g_fp->getObjectEnumState(sO_Girl, sO_IsSwinging)) {
mq = new MessageQueue(g_fp->_currentScene->getMessageQueueById(QU_SC16_GOGIRL), 0, 1);
- mq->replaceKeyCode(-1, ani->_okeyCode);
+ mq->setParamInt(-1, ani->_okeyCode);
mq->chain(0);
g_vars->scene16_walkingBoy = 0;