aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKudlaty <none@none>2009-06-15 00:27:40 +0200
committerKudlaty <none@none>2009-06-15 00:27:40 +0200
commit898b65a6d1e03649d6b921a864b4a2ddf7cbba97 (patch)
treec263e3931d78a74a3ce0e607c2c704118d8497e5 /src
parent8ace1a725020a53a2e11d891c8368dfc916e8c3f (diff)
Fix compile
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/bindings/scripts/scripts/zone/mulgore/mulgore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bindings/scripts/scripts/zone/mulgore/mulgore.cpp b/src/bindings/scripts/scripts/zone/mulgore/mulgore.cpp
index 377a12bd512..1254d08bf30 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();