aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-06-29 22:37:44 +0530
committerEugene Sandulenko2019-09-03 17:17:05 +0200
commit8c3bad65203edac5c5ebef60e993cdab1df9b093 (patch)
tree78b667154ab3c68e5763d281653cdb752e658eb2
parentc702968984f95ab27f4bd2546282b6586c108308 (diff)
downloadscummvm-rg350-8c3bad65203edac5c5ebef60e993cdab1df9b093.tar.gz
scummvm-rg350-8c3bad65203edac5c5ebef60e993cdab1df9b093.tar.bz2
scummvm-rg350-8c3bad65203edac5c5ebef60e993cdab1df9b093.zip
HDB: Fix copy-paste error
-rw-r--r--engines/hdb/ai-funcs.cpp2
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;