Vehicles with SAI should not kick their passengers when resetting

Signed-off-by: Subv2112 <[email protected]>
This commit is contained in:
Subv2112
2012-01-05 12:11:58 -05:00
parent 16fea505c4
commit 8197c37a92
+3 -1
View File
@@ -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();