aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-19 19:59:35 +0200
committerEugene Sandulenko2019-09-03 17:17:24 +0200
commitc10034df933b4213ff89bc28757d64831d8c5873 (patch)
tree6b4ced4a6533f5d20457f8bfc0f61c8cdda81fca /engines
parent6d3856cd9405eb9246c53ce2d345e6b59bd316da (diff)
downloadscummvm-rg350-c10034df933b4213ff89bc28757d64831d8c5873.tar.gz
scummvm-rg350-c10034df933b4213ff89bc28757d64831d8c5873.tar.bz2
scummvm-rg350-c10034df933b4213ff89bc28757d64831d8c5873.zip
HDB: Fix warning
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/ai-init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hdb/ai-init.cpp b/engines/hdb/ai-init.cpp
index 61cbafcd94..b0e27f3fe1 100644
--- a/engines/hdb/ai-init.cpp
+++ b/engines/hdb/ai-init.cpp
@@ -1524,7 +1524,7 @@ void AI::save(Common::OutSaveFile *out) {
}
void AI::loadSaveFile(Common::InSaveFile *in) {
- int i, j;
+ int i;
// Clean everything out
restartSystem();
@@ -1666,7 +1666,7 @@ void AI::loadSaveFile(Common::InSaveFile *in) {
// Clear out all ptrs in entity before writing out
- for (j = 0; j < kMaxAnimFrames; j++)
+ for (int j = 0; j < kMaxAnimFrames; j++)
temp->blinkGfx[j] = temp->movedownGfx[j] = temp->moveupGfx[j] =
temp->moveleftGfx[j] = temp->moverightGfx[j] = temp->standdownGfx[j] =
temp->standupGfx[j] = temp->standleftGfx[j] = temp->standrightGfx[j] =