From 898b65a6d1e03649d6b921a864b4a2ddf7cbba97 Mon Sep 17 00:00:00 2001 From: Kudlaty Date: Mon, 15 Jun 2009 00:27:40 +0200 Subject: [PATCH] Fix compile --HG-- branch : trunk --- src/bindings/scripts/scripts/zone/mulgore/mulgore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bindings/scripts/scripts/zone/mulgore/mulgore.cpp b/src/bindings/scripts/scripts/zone/mulgore/mulgore.cpp index 377a12bd51..1254d08bf3 100644 --- a/src/bindings/scripts/scripts/zone/mulgore/mulgore.cpp +++ b/src/bindings/scripts/scripts/zone/mulgore/mulgore.cpp @@ -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();