diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 57f5e4313..bbc5d9da6 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -317,7 +317,7 @@ Spell::Spell( Unit* caster, SpellEntry const *info, bool triggered, ObjectGuid o ASSERT( caster != NULL && info != NULL ); ASSERT( info == sSpellStore.LookupEntry( info->Id ) && "`info` must be pointer to sSpellStore element"); - if (caster->GetTypeId() != TYPEID_PLAYER && caster->IsInWorld() && caster->GetMap()->IsDungeon()) + if (info->SpellDifficultyId && caster->GetTypeId() != TYPEID_PLAYER && caster->IsInWorld() && caster->GetMap()->IsDungeon()) { if (SpellEntry const* spellEntry = GetSpellEntryByDifficulty(info->SpellDifficultyId, caster->GetMap()->GetDifficulty())) m_spellInfo = spellEntry; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 210aebcc0..c5cef8fc5 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "9789" + #define REVISION_NR "9790" #endif // __REVISION_NR_H__