aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-25 21:18:02 -0500
committermegamage <none@none>2009-05-25 21:18:02 -0500
commit320ac7f91e28bb30f34696b27c302713557b54ce (patch)
treec92e9e51d9882841ea61cbcf6b96639fcdec8143
parent54126d3ce5687bca6bad0b442c7ac95fd20ae1ee (diff)
*Do not use GO guid as original caster guid. (not supported for now)
--HG-- branch : trunk
-rw-r--r--src/game/GameObject.cpp4
1 files changed, 3 insertions, 1 deletions
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();