From 444327deafceef63855a0c052e706ed37c33d53c Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Sun, 28 Jul 2019 03:32:37 +0530 Subject: [PATCH] HDB: Remove redundant function call --- engines/hdb/ai-funcs.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp index 56f6e9696e0..fe391665e6e 100644 --- a/engines/hdb/ai-funcs.cpp +++ b/engines/hdb/ai-funcs.cpp @@ -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))