aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTrazom62 <none@none>2010-02-27 18:11:43 +0100
committerTrazom62 <none@none>2010-02-27 18:11:43 +0100
commit6e52fc3f7f321b7bc97f2ee85caacd3757e730cc (patch)
tree71066cb453d20e3582027b5da0efb061edfde9e0 /src
parent6ed27c17a2f31db6c838897a1c6f916f3f15af88 (diff)
fix compile on linux.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/scripts/northrend/naxxramas/boss_kelthuzad.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/scripts/northrend/naxxramas/boss_kelthuzad.cpp b/src/scripts/northrend/naxxramas/boss_kelthuzad.cpp
index 559205d9a38..76ead936212 100644
--- a/src/scripts/northrend/naxxramas/boss_kelthuzad.cpp
+++ b/src/scripts/northrend/naxxramas/boss_kelthuzad.cpp
@@ -507,7 +507,10 @@ struct boss_kelthuzadAI : public BossAI
if (!player->isCharmed())
{
player->SetFloatValue(OBJECT_FIELD_SCALE_X, (*itr).second);
- itr = chained.erase(itr);
+ std::map<uint64, float>::iterator next = itr;
+ ++next;
+ chained.erase(itr);
+ itr = next;
continue;
}