aboutsummaryrefslogtreecommitdiff
path: root/src/game/ObjectMgr.cpp
diff options
context:
space:
mode:
authorKudlaty <none@none>2009-08-17 19:29:33 +0200
committerKudlaty <none@none>2009-08-17 19:29:33 +0200
commit6dc27d432b2fa0b1bd27527127656e5c32b2404f (patch)
treec4e35422fbc737e57e78a4c47590cd61f7b44edd /src/game/ObjectMgr.cpp
parent5c285e93b9b5cd4b8ecb3d18e5c752c850a11de5 (diff)
Fix spellclick typo
--HG-- branch : trunk
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r--src/game/ObjectMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp
index 32832f0544c..f1d21ef2c4d 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