aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Outland
diff options
context:
space:
mode:
authorkaelima <kaelima@live.se>2013-06-19 00:41:40 +0200
committerkaelima <kaelima@live.se>2013-06-19 00:41:40 +0200
commita50fef233652a91e2d8fb0574f39b6b2203fe4b3 (patch)
treeb1e304108e3120e33c2d9666fa169ecec5176c5e /src/server/scripts/Outland
parent3a30a0bb3519479b4143783755841adf00e123e1 (diff)
Scripts: Prevented several KilledUnit texts to yelled for non-players such as pets
Diffstat (limited to 'src/server/scripts/Outland')
-rw-r--r--src/server/scripts/Outland/BlackTemple/boss_illidan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp b/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp
index 7cac1128815..06e6c676ffa 100644
--- a/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp
+++ b/src/server/scripts/Outland/BlackTemple/boss_illidan.cpp
@@ -574,7 +574,7 @@ public:
void KilledUnit(Unit* victim)
{
- if (victim == me)
+ if (victim->GetTypeId() != TYPEID_PLAYER)
return;
/// @todo Find better way to handle emote