mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[7225] Correctly clear trainer and vendor data.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
6786ed1610
commit
a1eaf1af6f
3 changed files with 3 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ void TrainerSpellData::Clear()
|
|||
{
|
||||
for (TrainerSpellList::iterator itr = spellList.begin(); itr != spellList.end(); ++itr)
|
||||
delete (*itr);
|
||||
spellList.empty();
|
||||
spellList.clear();
|
||||
}
|
||||
|
||||
TrainerSpell const* TrainerSpellData::Find(uint32 spell_id) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue