From 9369775b76951aeb3f24189c43b34bcadf9d897c Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 3 Jul 2019 19:24:58 +0200 Subject: HDB: Fix compilation --- engines/hdb/ai-funcs.cpp | 7 ------- engines/hdb/ai.h | 1 - 2 files changed, 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); -- cgit v1.2.3