From 2e820d0e69fc766f5997e0bb64a50636989a24bf Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Sat, 22 Jun 2019 22:28:06 +0530 Subject: HDB: Add debug output for activateAction --- engines/hdb/ai-lists.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3