diff options
author | Eugene Sandulenko | 2019-06-29 13:58:07 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:05 +0200 |
commit | 1f920a201edc97a06f90d9a60d8b626f437d8faa (patch) | |
tree | 824edf0bc426d4fc93b643b6e63534aecf4725ff /engines | |
parent | f0ab92faa14d45bea2f0c6e1c8d5ac6e4c6e5c5c (diff) | |
download | scummvm-rg350-1f920a201edc97a06f90d9a60d8b626f437d8faa.tar.gz scummvm-rg350-1f920a201edc97a06f90d9a60d8b626f437d8faa.tar.bz2 scummvm-rg350-1f920a201edc97a06f90d9a60d8b626f437d8faa.zip |
HDB: Solve ambigious code
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 |