fix compile on linux.
--HG-- branch : trunk
This commit is contained in:
1 parent
6ed27c17a2
commit
6e52fc3f7f
1 file changed
+4
-1
@@ -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