From 8c3bad65203edac5c5ebef60e993cdab1df9b093 Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Sat, 29 Jun 2019 22:37:44 +0530 Subject: HDB: Fix copy-paste error --- engines/hdb/ai-funcs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp index 358c37d57a..8dfbf0d595 100644 --- a/engines/hdb/ai-funcs.cpp +++ b/engines/hdb/ai-funcs.cpp @@ -624,7 +624,7 @@ void AI::initAllEnts() { AIEntity *temp = _inventory[i].ent; // Clear out all ptrs in entity before writing - for (int j = 0; i < kMaxAnimFrames; i++) { + for (int j = 0; j < kMaxAnimFrames; j++) { temp->blinkGfx[j] = NULL; temp->movedownGfx[j] = NULL; temp->moveupGfx[j] = NULL; -- cgit v1.2.3