diff options
-rw-r--r-- | engines/hdb/ai-lists.cpp | 3 | ||||
-rw-r--r-- | engines/hdb/hdb.cpp | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/engines/hdb/ai-lists.cpp b/engines/hdb/ai-lists.cpp index a8598863a2..a8c69f12d9 100644 --- a/engines/hdb/ai-lists.cpp +++ b/engines/hdb/ai-lists.cpp @@ -90,12 +90,13 @@ void AI::animateTargets() { int layer; g_hdb->_map->getMapXY(&mx, &my); + debug("animateTargets: Size of _animTargets: %d", _animTargets->size()); for (Common::Array<AnimTarget *>::iterator it = _animTargets->begin(); it != _animTargets->end(); it++) { - at = *it; // Draw Non-Map stuff every frame if (!at->inMap) + // FIXME: Out of bounds reference to gfxList at->gfxList[at->start]->drawMasked(at->x - mx, at->y - my); // Frame Timer diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index 78774e1082..7fb4551c03 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -300,7 +300,7 @@ Common::Error HDBGame::run() { _drawMan->drawSky(); - warning("STUB: HDBGame::run: Add check for pause flag"); + debug(9, "STUB: HDBGame::run: Add check for pause flag"); _ai->moveEnts(); _ai->processCallbackList(); |