aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-18 16:26:02 -0600
committermegamage <none@none>2009-02-18 16:26:02 -0600
commit0ff7fbcd7f48df126e9a190b815ab2f101f91d86 (patch)
treea37656450394fe12702398496257f405bfc1597d /src/game/Unit.cpp
parent7bff1c1d60b78ba78f2ab0a9c67bdde80427ea30 (diff)
*Fix a crash caused by charm/possess spells.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index ee52ad1367d..9ed77d70cb2 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -12969,9 +12969,6 @@ void Unit::SetCharmedOrPossessedBy(Unit* charmer, bool possess)
if(GetTypeId() == TYPEID_PLAYER)
((Player*)this)->StopCastingCharm();
- // Charmed stop being charmed
- RemoveCharmAuras();
-
// Set charmed
charmer->SetCharm(this);
SetCharmerGUID(charmer->GetGUID());