Core/Spell: SpellAura Redux
Port From (https://github.com/TrinityCore/TrinityCore/commit/f7299dce9770a5b4a3a5ab289e930a390aa0407a)
This commit is contained in:
@@ -900,6 +900,11 @@ namespace Game.Entities
|
||||
}
|
||||
else if (seatId >= 0 && seatId == GetTransSeat())
|
||||
return;
|
||||
else
|
||||
{
|
||||
//Exit the current vehicle because unit will reenter in a new seat.
|
||||
m_vehicle.GetBase().RemoveAurasByType(AuraType.ControlVehicle, GetGUID(), aurApp.GetBase());
|
||||
}
|
||||
}
|
||||
|
||||
if (aurApp.HasRemoveMode())
|
||||
|
||||
Reference in New Issue
Block a user