From 320ac7f91e28bb30f34696b27c302713557b54ce Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 25 May 2009 21:18:02 -0500 Subject: *Do not use GO guid as original caster guid. (not supported for now) --HG-- branch : trunk --- src/game/GameObject.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/game/GameObject.cpp') diff --git a/src/game/GameObject.cpp b/src/game/GameObject.cpp index 9a415f8c991..4729185d5ea 100644 --- a/src/game/GameObject.cpp +++ b/src/game/GameObject.cpp @@ -398,7 +398,9 @@ void GameObject::Update(uint32 /*p_time*/) for (; it != end; it++) { Unit* owner = Unit::GetUnit(*this, uint64(*it)); - if (owner) owner->CastSpell(owner, spellId, false, 0, 0, GetGUID()); + // For now we do not support go cast + //if (owner) owner->CastSpell(owner, spellId, false, 0, 0, GetGUID()); + if (owner) owner->CastSpell(owner, spellId, false); } m_unique_users.clear(); -- cgit v1.2.3