From 038c1ad776747e7d5af0f1b07c065f6df49c0881 Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 29 Jan 2010 12:54:30 -0700 Subject: * Added check in ObjectMgr to allow RewSpellCast=-1. Thanks QAston --HG-- branch : trunk --- src/game/ObjectMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index e91aefe4b31..ccac86f9202 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -3988,7 +3988,7 @@ void ObjectMgr::LoadQuests() } } - if(qinfo->RewSpellCast) + if(qinfo->RewSpellCast > 0) { SpellEntry const* spellInfo = sSpellStore.LookupEntry(qinfo->RewSpellCast); -- cgit v1.2.3