summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-10 01:26:57 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-10 01:26:57 +0300
commit7c15976a191d48feed18dd93e2be36aa2eb681ed (patch)
treec8950e9cd535584c3838560d76164fbeb6fda7be /src/being.cpp
parentc791a0f5f7876b89f39644a13679a0a55b6c1322 (diff)
downloadmanaplus-7c15976a191d48feed18dd93e2be36aa2eb681ed.tar.gz
manaplus-7c15976a191d48feed18dd93e2be36aa2eb681ed.tar.bz2
manaplus-7c15976a191d48feed18dd93e2be36aa2eb681ed.tar.xz
manaplus-7c15976a191d48feed18dd93e2be36aa2eb681ed.zip
iterator fix in being.cpp after last changes.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 5381c5924..883bde321 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -2159,7 +2159,7 @@ void Being::recalcSpritesOrder()
SpriteToItemMap::const_iterator itr;
for (itr = spriteToItems->begin();
- itr != spriteToItems->end(); ++it)
+ itr != spriteToItems->end(); ++itr)
{
int remSprite = itr->first;
const std::map<int, int> &itemReplacer = itr->second;