diff options
-rw-r--r-- | src/scripts/northrend/naxxramas/boss_kelthuzad.cpp | 5 |
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; } |