diff options
-rw-r--r-- | engines/hdb/ai-funcs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |