Vehicles with SAI should not kick their passengers when resetting
Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
This commit is contained in:
1 parent
16fea505c4
commit
8197c37a92
1 file changed
+3
-1
@@ -436,7 +436,9 @@ void SmartAI::EnterEvadeMode()
|
||||
if (!me->isAlive())
|
||||
return;
|
||||
|
||||
me->RemoveAllAuras();
|
||||
// Vehicles should not dismount their passengers on evade mode
|
||||
me->RemoveAllAurasExceptType(SPELL_AURA_CONTROL_VEHICLE);
|
||||
|
||||
me->DeleteThreatList();
|
||||
me->CombatStop(true);
|
||||
me->LoadCreaturesAddon();
|
||||
|
||||
Reference in new issue
Block a user