[7225] Correctly clear trainer and vendor data. Author: zhenya
--HG-- branch : trunk
This commit is contained in:
@@ -350,6 +350,7 @@ struct VendorItemData
|
||||
{
|
||||
for (VendorItemList::iterator itr = m_items.begin(); itr != m_items.end(); ++itr)
|
||||
delete (*itr);
|
||||
m_items.clear();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user