diff options
author | Eugene Sandulenko | 2016-09-07 12:12:31 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-07 12:12:31 +0200 |
commit | a021b4c7e8c811f56c522e69f1723d29d7c36cc7 (patch) | |
tree | ee7f2ae3496416003ed9dff505cae01275a58e0a /engines/fullpipe/scenes | |
parent | 5dddde199fef11650f635c666dd797df011fcdb3 (diff) | |
download | scummvm-rg350-a021b4c7e8c811f56c522e69f1723d29d7c36cc7.tar.gz scummvm-rg350-a021b4c7e8c811f56c522e69f1723d29d7c36cc7.tar.bz2 scummvm-rg350-a021b4c7e8c811f56c522e69f1723d29d7c36cc7.zip |
FULLPIPE: Added and using StaticANIObject::isPixelHitAtPos()
Diffstat (limited to 'engines/fullpipe/scenes')
-rw-r--r-- | engines/fullpipe/scenes/scene09.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene09.cpp b/engines/fullpipe/scenes/scene09.cpp index aaa430d077..fe9051e540 100644 --- a/engines/fullpipe/scenes/scene09.cpp +++ b/engines/fullpipe/scenes/scene09.cpp @@ -369,7 +369,7 @@ void sceneHandler09_checkHangerCollide() { for (int i = 0; i < g_vars->scene09_numMovingHangers; i++) { for (int j = 0; j < 4; j++) { - hit = g_vars->scene09_hangers[i]->ani->getPixelAtPos(newx + g_vars->scene09_hangerOffsets[j].x, ball->_oy + g_vars->scene09_hangerOffsets[j].y, 0, true); + hit = g_vars->scene09_hangers[i]->ani->isPixelHitAtPos(newx + g_vars->scene09_hangerOffsets[j].x, ball->_oy + g_vars->scene09_hangerOffsets[j].y); if (hit) { sceneHandler09_ballExplode(b); |