mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
[10521] Fix iterator update, thanks to VladimirMangos
This commit is contained in:
parent
9f2e36c7f0
commit
cc16743074
2 changed files with 2 additions and 2 deletions
|
|
@ -179,7 +179,7 @@ void DynamicObject::Delay(int32 delaytime)
|
|||
++iter;
|
||||
}
|
||||
else
|
||||
m_affected.erase(iter);
|
||||
m_affected.erase(iter++);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue