aboutsummaryrefslogtreecommitdiff
path: root/src/game/Group.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-27 18:42:35 -0500
committermegamage <none@none>2009-04-27 18:42:35 -0500
commit09af28301e646bf75b63113129996724550d7dd6 (patch)
treea36f7bb0f369c13b71958f40e0247150417ba18e /src/game/Group.cpp
parent5ac67c27f71a7b53fbce92ffdab3adb62b6baf0c (diff)
[7716] Fixed some typos and possible crashes. Author: AlexDereka
--HG-- branch : trunk
Diffstat (limited to 'src/game/Group.cpp')
-rw-r--r--src/game/Group.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Group.cpp b/src/game/Group.cpp
index f4a977c3d7c..34829b7794c 100644
--- a/src/game/Group.cpp
+++ b/src/game/Group.cpp
@@ -72,8 +72,8 @@ Group::~Group()
// will be unloaded first so we must be prepared for both cases
// this may unload some instance saves
for(uint8 i = 0; i < TOTAL_DIFFICULTIES; i++)
- for(BoundInstancesMap::iterator itr = m_boundInstances[i].begin(); itr != m_boundInstances[i].end(); ++itr)
- itr->second.save->RemoveGroup(this);
+ for(BoundInstancesMap::iterator itr2 = m_boundInstances[i].begin(); itr2 != m_boundInstances[i].end(); ++itr2)
+ itr2->second.save->RemoveGroup(this);
// Sub group counters clean up
if (m_subGroupsCounts)