*Change typecasts to use build in functions/macros in scripts to prevent possible access violation.
*Remove no longer needed hack from netherspite script. --HG-- branch : trunk
This commit is contained in:
@@ -70,12 +70,6 @@ struct boss_netherspiteAI : public ScriptedAI
|
||||
BeamTarget[i] = 0;
|
||||
BeamerGUID[i] = 0;
|
||||
}
|
||||
// need core fix
|
||||
for (int i=0; i<3; ++i)
|
||||
{
|
||||
if (SpellEntry *spell = (SpellEntry*)GetSpellStore()->LookupEntry(PlayerBuff[i]))
|
||||
spell->AttributesEx |= SPELL_ATTR_EX_NEGATIVE;
|
||||
}
|
||||
}
|
||||
|
||||
ScriptedInstance* pInstance;
|
||||
|
||||
Reference in New Issue
Block a user