From 6dc27d432b2fa0b1bd27527127656e5c32b2404f Mon Sep 17 00:00:00 2001 From: Kudlaty Date: Mon, 17 Aug 2009 19:29:33 +0200 Subject: [PATCH] Fix spellclick typo --HG-- branch : trunk --- src/game/ObjectMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index 32832f0544..f1d21ef2c4 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -6773,7 +6773,7 @@ void ObjectMgr::LoadNPCSpellClickSpells() info.castFlags = castFlags; info.auraRequired = auraRequired; info.auraForbidden = auraForbidden; - info.userType = SpellClickUserTypes(castFlags); + info.userType = SpellClickUserTypes(userType); mSpellClickInfoMap.insert(SpellClickInfoMap::value_type(npc_entry, info)); // mark creature template as spell clickable