*Fix a crash caused by charm/possess spells.
--HG-- branch : trunk
This commit is contained in:
1 parent
7bff1c1d60
commit
0ff7fbcd7f
3 files changed
+20
-10
No files matched your search
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user