diff options
| author | megamage <none@none> | 2009-02-03 15:01:18 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-02-03 15:01:18 -0600 |
| commit | adfa5b0ab5e28b17ced6935bdbb3f1fa11e06682 (patch) | |
| tree | 307fdd3aff731fa2297f987d2b41ed11d9a8bff0 /src/game/Creature.cpp | |
| parent | f8fa463e7ed2c6bca88e26ce3c058c419f8c89c9 (diff) | |
[7225] Correctly clear trainer and vendor data. Author: zhenya
--HG--
branch : trunk
Diffstat (limited to 'src/game/Creature.cpp')
| -rw-r--r-- | src/game/Creature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index 9ff0e7a1f8e..8b682849b8e 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -55,7 +55,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 |
