diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index f8bfc89cc..db913a9fb 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -7470,7 +7470,7 @@ void Spell::EffectReputation(SpellEffectIndex eff_idx) void Spell::EffectQuestComplete(SpellEffectIndex eff_idx) { - if (unitTarget->GetTypeId() != TYPEID_PLAYER) + if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER) return; uint32 quest_id = m_spellInfo->EffectMiscValue[eff_idx]; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 759dff52f..e32a3957b 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 "10938" + #define REVISION_NR "10939" #endif // __REVISION_NR_H__