summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-13 19:26:43 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-13 19:26:43 +0300
commit4ee30f47b491de0ace9b692072fd286cf12c7828 (patch)
tree7dc3384c988704cb26cce79841365175c4414a92 /src/resources
parent79075b1688a4218dcee56d727dc2f6c88051c9c0 (diff)
downloadmanaverse-4ee30f47b491de0ace9b692072fd286cf12c7828.tar.gz
manaverse-4ee30f47b491de0ace9b692072fd286cf12c7828.tar.bz2
manaverse-4ee30f47b491de0ace9b692072fd286cf12c7828.tar.xz
manaverse-4ee30f47b491de0ace9b692072fd286cf12c7828.zip
Fix code style.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/mapreader.cpp6
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);
}