diff options
author | Nipun Garg | 2019-06-22 22:28:06 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:56 +0200 |
commit | 2e820d0e69fc766f5997e0bb64a50636989a24bf (patch) | |
tree | c5d4efd9799b2be6d41e5de9d6817a5e1bfd7a09 | |
parent | 168dd1098101ee5daa96590ecf930be64415d3f1 (diff) | |
download | scummvm-rg350-2e820d0e69fc766f5997e0bb64a50636989a24bf.tar.gz scummvm-rg350-2e820d0e69fc766f5997e0bb64a50636989a24bf.tar.bz2 scummvm-rg350-2e820d0e69fc766f5997e0bb64a50636989a24bf.zip |
HDB: Add debug output for activateAction
-rw-r--r-- | engines/hdb/ai-lists.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/hdb/ai-lists.cpp b/engines/hdb/ai-lists.cpp index 79ad0a6fd8..40bb4583a3 100644 --- a/engines/hdb/ai-lists.cpp +++ b/engines/hdb/ai-lists.cpp @@ -388,6 +388,7 @@ bool AI::activateAction(AIEntity *e, int x, int y, int targetX, int targetY) { bool AI::checkAutoList(AIEntity *e, int x, int y) { for (int i = 0;i < kMaxAutoActions;i++) { if (_autoActions[i].x == x && _autoActions[i].y == y && !_autoActions[i].activated) { + debug(1, "Activating action for Entity: %s, x: %d, y: %d", e->entityName, x, y); bool success = activateAction(e, x, y, 0, 0); _autoActions[i].activated = true; |