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