diff options
author | Eugene Sandulenko | 2019-07-03 19:24:58 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:10 +0200 |
commit | 9369775b76951aeb3f24189c43b34bcadf9d897c (patch) | |
tree | fd45da3202599439659c0e89434c0f8c44330482 | |
parent | 37b09c6e3d39347ab7f6ec1ca639c8220e4c736c (diff) | |
download | scummvm-rg350-9369775b76951aeb3f24189c43b34bcadf9d897c.tar.gz scummvm-rg350-9369775b76951aeb3f24189c43b34bcadf9d897c.tar.bz2 scummvm-rg350-9369775b76951aeb3f24189c43b34bcadf9d897c.zip |
HDB: Fix compilation
-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); |