aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Outland
diff options
context:
space:
mode:
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