mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
fix compile on linux.
--HG-- branch : trunk
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user