[9786] Fixed crash at drop vendor items (anorther way).

This commit is contained in:
VladimirMangos 2010-04-24 02:40:11 +04:00
parent 7b675219e7
commit eb66482020
2 changed files with 2 additions and 2 deletions

View file

@ -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