diff options
-rw-r--r-- | engines/hdb/ai-lists.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/hdb/ai-lists.cpp b/engines/hdb/ai-lists.cpp index a8c69f12d9..df779d5900 100644 --- a/engines/hdb/ai-lists.cpp +++ b/engines/hdb/ai-lists.cpp @@ -91,10 +91,14 @@ void AI::animateTargets() { g_hdb->_map->getMapXY(&mx, &my); debug("animateTargets: Size of _animTargets: %d", _animTargets->size()); + debug("_animTargets:"); for (Common::Array<AnimTarget *>::iterator it = _animTargets->begin(); it != _animTargets->end(); it++) { at = *it; + debug("it - _animTargets->begin(): %d", it - _animTargets->begin()); + debug("at: at->x: %d, at->y: %d, at->start: %d, at->end: %d, at->vel: %d", at->x, at->y, at->start, at->end, at->vel); // 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); |