aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-01 22:32:16 -0600
committermegamage <none@none>2008-12-01 22:32:16 -0600
commit6bf479d9ad6e66fea48a6b69321e08b7da4db1fa (patch)
tree4707ee89d89c5b06ed53571d7d06861ad9f127ef
parentab179d76fea73d8a2457bbafe376d1df0e68f34e (diff)
*Use hack method to let enemy lose selection when target cast feign death.
--HG-- branch : trunk
-rw-r--r--src/game/SpellAuras.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index ce2fec21fab..490bd630006 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -3070,6 +3070,9 @@ void Aura::HandleFeignDeath(bool apply, bool Real)
data<<uint8(0);
m_target->SendMessageToSet(&data,true);
*/
+
+ m_target->SetVisibility(VISIBILITY_OFF);
+ m_target->SetVisibility(VISIBILITY_ON);
// blizz like 2.0.x
m_target->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_UNKNOWN6);
// blizz like 2.0.x