From fa3a62ae4e890dc526f2f0474e3469ccddb15edf Mon Sep 17 00:00:00 2001 From: Lucas Nascimento Date: Sun, 17 Oct 2021 17:02:38 -0300 Subject: Entities/Unit: Fixed wrong combat stop when remove charm (#27038) --- src/server/game/Entities/Unit/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index 407d27a3657..3cae65b41cc 100644 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -11664,7 +11664,7 @@ void Unit::RemoveCharmedBy(Unit* charmer) type = CHARM_TYPE_CHARM; CastStop(); - CombatStop(); /// @todo CombatStop(true) may cause crash (interrupt spells) + AttackStop(); if (_oldFactionId) { -- cgit v1.2.3