Skip to content

Commit

Permalink
FULLPIPE: Fix ball collision detection in scene14
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Oct 2, 2016
1 parent 4acb6c8 commit 4ddf68a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions engines/fullpipe/scenes/scene14.cpp
Expand Up @@ -807,9 +807,7 @@ int sceneHandler14(ExCommand *cmd) {

case 29:
if (g_vars->scene14_arcadeIsOn) {
uint32 pixel;

if (g_vars->scene14_dudeCanKick && g_fp->_aniMan->getPixelAtPos(cmd->_sceneClickX, cmd->_sceneClickY, &pixel) && !g_fp->_aniMan->_movement) {
if (g_vars->scene14_dudeCanKick && g_fp->_aniMan->isPixelHitAtPos(cmd->_sceneClickX, cmd->_sceneClickY) && !g_fp->_aniMan->_movement) {
sceneHandler14_dudeDecline();
break;
}
Expand Down

0 comments on commit 4ddf68a

Please sign in to comment.