*Correctly show spellclick flag for vehicles and creatures with info in spellclick table.
--HG-- branch : trunk
This commit is contained in:
1 parent
30adb32d53
commit
a8dbf8904c
7 files changed
+20
-17
No files matched your search
@@ -6467,6 +6467,9 @@ void ObjectMgr::LoadNPCSpellClickSpells()
|
||||
continue;
|
||||
}
|
||||
|
||||
if(!(cInfo->npcflag & UNIT_NPC_FLAG_SPELLCLICK))
|
||||
const_cast<CreatureInfo*>(cInfo)->npcflag |= UNIT_NPC_FLAG_SPELLCLICK;
|
||||
|
||||
uint32 spellid = fields[1].GetUInt32();
|
||||
SpellEntry const *spellinfo = sSpellStore.LookupEntry(spellid);
|
||||
if (!spellinfo)
|
||||
|
||||
Reference in new issue
Block a user