summaryrefslogtreecommitdiff
path: root/src/statuseffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/statuseffect.cpp')
-rw-r--r--src/statuseffect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/statuseffect.cpp b/src/statuseffect.cpp
index 1a399410b..3f950ed95 100644
--- a/src/statuseffect.cpp
+++ b/src/statuseffect.cpp
@@ -185,7 +185,7 @@ void unloadMap(std::map<int, StatusEffect *> map)
{
std::map<int, StatusEffect *>::iterator it;
- for (it = map.begin(); it != map.end(); it++)
+ for (it = map.begin(); it != map.end(); ++it)
delete (*it).second;
map.clear();