diff options
author | ariel- <ariel-@users.noreply.github.com> | 2018-03-02 01:28:51 -0300 |
---|---|---|
committer | ariel- <ariel-@users.noreply.github.com> | 2018-03-02 01:28:51 -0300 |
commit | 0a249bda4361bd57bd3aa93dbbf24cd9d3852669 (patch) | |
tree | ac8e20d68566e782ba39e1900cb6bc44110d92f2 /src | |
parent | 1904016ce090d54cbaf60e6270b9e02d16602a73 (diff) |
Core/Misc: fix bad dbc data for lock 'Locked ball and chain'
Closes #12260
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Spells/SpellMgr.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index f8a2f8b5ef2..1416dd5c08c 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -4860,6 +4860,9 @@ void SpellMgr::LoadSpellInfoCorrections() if (SummonPropertiesEntry* properties = const_cast<SummonPropertiesEntry*>(sSummonPropertiesStore.LookupEntry(628))) // Hungry Plaguehound properties->Category = SUMMON_CATEGORY_PET; + if (LockEntry* entry = const_cast<LockEntry*>(sLockStore.LookupEntry(36))) // 3366 Opening, allows to open without proper key + entry->Type[2] = LOCK_KEY_NONE; + TC_LOG_INFO("server.loading", ">> Loaded SpellInfo corrections in %u ms", GetMSTimeDiffToNow(oldMSTime)); } |