diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/ai-lists.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/hdb/ai-lists.cpp b/engines/hdb/ai-lists.cpp index d76fa9ec51..1a7b794e87 100644 --- a/engines/hdb/ai-lists.cpp +++ b/engines/hdb/ai-lists.cpp @@ -90,8 +90,6 @@ void AI::animateTargets() { int layer; g_hdb->_map->getMapXY(&mx, &my); - debug(9, "animateTargets: Size of _animTargets: %d", _animTargets.size()); - debug(9, "_animTargets:"); for (uint i = 0; i < _animTargets.size(); i++) { at = _animTargets[i]; @@ -110,8 +108,7 @@ void AI::animateTargets() { if (at->inMap) { // Animate Map Tiles layer = 0; // BG layer - warning("FIXME: Ambigious animateTargets() code."); - if (!at->start == g_hdb->_map->getMapBGTileIndex(at->x, at->y)) + if (!(at->start == g_hdb->_map->getMapBGTileIndex(at->x, at->y))) layer = 1; // Change Tile Anim |