Fix compile
--HG-- branch : trunk
This commit is contained in:
@@ -97,7 +97,7 @@ struct TRINITY_DLL_DECL npc_kyle_frenziedAI : public ScriptedAI
|
||||
|
||||
void SpellHit(Unit* pCaster, SpellEntry const* pSpell)
|
||||
{
|
||||
if (!InCombat && !bEvent && pSpell->Id == SPELL_LUNCH)
|
||||
if (!m_creature->isInCombat() && !bEvent && pSpell->Id == SPELL_LUNCH)
|
||||
{
|
||||
if (pCaster->GetTypeId() == TYPEID_PLAYER)
|
||||
uiPlayerGUID = pCaster->GetGUID();
|
||||
|
||||
Reference in New Issue
Block a user