All pastes #898597 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-02-10 13:36 UTC
rendered paste body
Index: src/game/SpellEffects.cpp
===================================================================
--- src/game/SpellEffects.cpp   (revision 4951)
+++ src/game/SpellEffects.cpp   (working copy)
@@ -3818,7 +3818,8 @@

     uint32 quest_id = m_spellInfo->EffectMiscValue[i];

-    _player->AreaExploredOrEventHappens(quest_id);
+    if (_player->IsActiveQuest(quest_id))
+        _player->CompleteQuest(quest_id);
}

void Spell::EffectSelfResurrect(uint32 i)