HDB: Remove redundant function call

This commit is contained in:
Nipun Garg 2019-07-28 03:32:37 +05:30 committed by Eugene Sandulenko
parent 6c21dfbbe6
commit 444327deaf

View File

@ -2336,9 +2336,6 @@ void AI::movePlayer(uint16 buttons) {
case STATE_STANDDOWN:
case STATE_STANDLEFT:
case STATE_STANDRIGHT:
if (checkForTouchplate(nx, ny))
break;
// TODO: CHECKME - Uselessly redundant call - nx and ny are not modified by the call
if (checkForTouchplate(nx, ny))
break;
if (checkActionList(_player, nx, ny, true))