diff options
-rw-r--r-- | engines/hdb/ai-funcs.cpp | 7 | ||||
-rw-r--r-- | engines/hdb/ai.h | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp index bc1e9924ce..ecd5e52b39 100644 --- a/engines/hdb/ai-funcs.cpp +++ b/engines/hdb/ai-funcs.cpp @@ -1870,13 +1870,6 @@ void AI::moveEnts() { debug(9, "STUB: moveEnts: Laser Looping Sound Channel"); } -int AI::checkForTouchplate(int x, int y) { - int tileIndex = g_hdb->_map->getMapBGTileIndex(x, y); - if (tileIndex == _touchplateOff || tileIndex == _templeTouchpOff) - return tileIndex; - return 0; -} - bool AI::findPath(AIEntity *e) { int x, y, xv = 0, yv = 0, max; ArrowPath *here; diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h index 22032f2f33..2e1d26e570 100644 --- a/engines/hdb/ai.h +++ b/engines/hdb/ai.h @@ -806,7 +806,6 @@ public: void moveEnts(); - int checkForTouchplate(int x, int y); bool findPath(AIEntity *e); AIEntity *legalMove(int tileX, int tileY, int level, int *result); AIEntity *legalMoveOverWater(int tileX, int tileY, int level, int *result); |