diff options
-rw-r--r-- | src/resources/mapreader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index 48d63144a..db53e6518 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -583,10 +583,10 @@ void MapReader::readLayer(const XmlNodePtr node, Map *const map) if (hasAnimations) { - TileAnimationMapCIter i = tileAnimations.find(gid); - if (i != tileAnimations.end()) + TileAnimationMapCIter it = tileAnimations.find(gid); + if (it != tileAnimations.end()) { - TileAnimation *const ani = i->second; + TileAnimation *const ani = it->second; if (ani) ani->addAffectedTile(layer, x + y * w); } |