aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Level3.cpp')
-rw-r--r--src/game/Level3.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp
index 06338bbe233..fe8cca2da4b 100644
--- a/src/game/Level3.cpp
+++ b/src/game/Level3.cpp
@@ -7472,9 +7472,7 @@ bool ChatHandler::HandleUnPossessCommand(const char* args)
Unit* pUnit = getSelectedUnit();
if(!pUnit) pUnit = m_session->GetPlayer();
- pUnit->RemoveAurasByType(SPELL_AURA_MOD_CHARM);
- pUnit->RemoveAurasByType(SPELL_AURA_MOD_POSSESS_PET);
- pUnit->RemoveAurasByType(SPELL_AURA_MOD_POSSESS);
+ pUnit->RemoveCharmAuras();
return true;
}