diff options
author | Nipun Garg | 2019-07-19 21:12:10 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:24 +0200 |
commit | 1b6b2a96a06d84cd8c2c162101ee94b221552413 (patch) | |
tree | 85e7f5ee970bc50eed48d7b48b1e03bc2e1042ce /engines | |
parent | 9e1f792751eeba9606a566447d1a7ac6008fb65a (diff) | |
download | scummvm-rg350-1b6b2a96a06d84cd8c2c162101ee94b221552413.tar.gz scummvm-rg350-1b6b2a96a06d84cd8c2c162101ee94b221552413.tar.bz2 scummvm-rg350-1b6b2a96a06d84cd8c2c162101ee94b221552413.zip |
HDB: Fix warnings
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/ai-init.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hdb/ai-init.cpp b/engines/hdb/ai-init.cpp index 73987c7211..61cbafcd94 100644 --- a/engines/hdb/ai-init.cpp +++ b/engines/hdb/ai-init.cpp @@ -1691,7 +1691,7 @@ void AI::loadSaveFile(Common::InSaveFile *in) { // Load AnimTargets uint32 animTsize = in->readUint32LE(); _animTargets.clear(); - for (i = 0; i < animTsize; i++) { + for (uint32 j = 0; j < animTsize; j++) { AnimTarget *a = new AnimTarget; a->x = in->readUint16LE(); @@ -1725,7 +1725,7 @@ void AI::loadSaveFile(Common::InSaveFile *in) { // Load HereT List uint32 hereSize = in->readUint32LE(); _hereList->clear(); - for (i = 0; i < hereSize; i++) { + for (uint32 j = 0; j < hereSize; j++) { HereT *h = new HereT; h->x = in->readUint16LE(); h->y = in->readUint16LE(); |