mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +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
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9785"
|
||||
#define REVISION_NR "9786"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue