mirror of
https://github.com/mangosfour/server.git
synced 2025-12-20 16:37:04 +00:00
[11330] Use ObjectGuid to store Totem guids instead of uint64 and fix related rare crash.
Signed-off-by: Ambal <pogrebniak@gala.net>
This commit is contained in:
parent
735f086992
commit
cd32dd9bfc
5 changed files with 9 additions and 15 deletions
|
|
@ -5012,7 +5012,7 @@ SpellCastResult Spell::CheckCast(bool strict)
|
|||
if (m_spellInfo->SpellFamilyName == SPELLFAMILY_SHAMAN && m_spellInfo->SpellIconID == 33)
|
||||
{
|
||||
// fire totems slot
|
||||
if (!m_caster->GetTotemGUID(TOTEM_SLOT_FIRE))
|
||||
if (m_caster->GetTotemGuid(TOTEM_SLOT_FIRE).IsEmpty())
|
||||
return SPELL_FAILED_TOTEMS;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue