diff options
Diffstat (limited to 'engines/fullpipe/scenes')
-rw-r--r-- | engines/fullpipe/scenes/scene06.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/engines/fullpipe/scenes/scene06.cpp b/engines/fullpipe/scenes/scene06.cpp index 9b483a0b3e..5fab4b5862 100644 --- a/engines/fullpipe/scenes/scene06.cpp +++ b/engines/fullpipe/scenes/scene06.cpp @@ -474,15 +474,11 @@ void sceneHandler06_catchBall() { } void sceneHandler06_checkBallTarget(int par) { - uint32 pixel; - if (g_vars->scene06_ballY <= 475) { - if (g_vars->scene06_mumsy->getPixelAtPos(g_vars->scene06_ballX, g_vars->scene06_ballY, &pixel)) { - if (pixel) { - chainObjQueue(g_vars->scene06_mumsy, QU_MOM_JUMPBK, 0); + if (g_vars->scene06_mumsy->isPixelHitAtPos(g_vars->scene06_ballX, g_vars->scene06_ballY)) { + chainObjQueue(g_vars->scene06_mumsy, QU_MOM_JUMPBK, 0); - sceneHandler06_catchBall(); - } + sceneHandler06_catchBall(); } } else { sceneHandler06_fallBall(); |