summaryrefslogtreecommitdiff
path: root/src/playerinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/playerinfo.cpp')
-rw-r--r--src/playerinfo.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/playerinfo.cpp b/src/playerinfo.cpp
index 6fb482eb8..5721d2d67 100644
--- a/src/playerinfo.cpp
+++ b/src/playerinfo.cpp
@@ -265,8 +265,7 @@ void logic()
if ((mSpecialRechargeUpdateNeeded % 11) == 0)
{
mSpecialRechargeUpdateNeeded = 0;
- for (SpecialsMap::iterator it = mSpecials.begin(),
- it_end = mSpecials.end(); it != it_end; ++it)
+ FOR_EACH (SpecialsMap::iterator, it, mSpecials)
{
Special &special = it->second;
special.currentMana += special.recharge;