mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 01:37:00 +00:00
[9786] Fixed crash at drop vendor items (anorther way).
This commit is contained in:
parent
7b675219e7
commit
eb66482020
2 changed files with 2 additions and 2 deletions
|
|
@ -64,7 +64,7 @@ bool VendorItemData::RemoveItem( uint32 item_id )
|
|||
// can have many examples
|
||||
if((*i)->item == item_id)
|
||||
{
|
||||
m_items.erase(i++);
|
||||
i = m_items.erase(i);
|
||||
found = true;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue