diff options
-rw-r--r-- | engines/hdb/ai-funcs.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp index e3de84599a..4988974b0e 100644 --- a/engines/hdb/ai-funcs.cpp +++ b/engines/hdb/ai-funcs.cpp @@ -2046,7 +2046,9 @@ AIEntity *AI::playerCollision(int topBorder, int bottomBorder, int leftBorder, i } bool AI::checkPlayerTileCollision(int x, int y) { - debug(9, "STUB: checkPlayerTileCollison: g_hdb->getDebug() required"); + if (g_hdb->getDebug() == 2) + return false; + return (_player->tileX == x && _player->tileY == y); } |