aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNipun Garg2019-07-28 03:32:37 +0530
committerEugene Sandulenko2019-09-03 17:17:29 +0200
commit444327deafceef63855a0c052e706ed37c33d53c (patch)
tree5e56fa39b78810cb3e22a3a389206e91d565468d /engines
parent6c21dfbbe66fc046d56e1bf5ddf18c5c8c4e7591 (diff)
downloadscummvm-rg350-444327deafceef63855a0c052e706ed37c33d53c.tar.gz
scummvm-rg350-444327deafceef63855a0c052e706ed37c33d53c.tar.bz2
scummvm-rg350-444327deafceef63855a0c052e706ed37c33d53c.zip
HDB: Remove redundant function call
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/ai-funcs.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp
index 56f6e9696e..fe391665e6 100644
--- a/engines/hdb/ai-funcs.cpp
+++ b/engines/hdb/ai-funcs.cpp
@@ -2338,9 +2338,6 @@ void AI::movePlayer(uint16 buttons) {
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))
return;
if (checkAutoList(_player, nx, ny))