Core/Vehicle: Only interrupt channels with SpellAuraInterruptFlags::Mount when entering a vehicle

Port From (https://github.com/TrinityCore/TrinityCore/commit/ee95a5e00fb2ee6928a819699ab93094d916d372)
This commit is contained in:
hondacrx
2024-02-04 00:36:55 -05:00
parent 0abe183fc9
commit 7825d38b91
+3 -1
View File
@@ -661,7 +661,9 @@ namespace Game.Entities
}
}
Passenger.InterruptNonMeleeSpells(false);
Passenger.InterruptSpell(CurrentSpellTypes.Generic);
Passenger.InterruptSpell(CurrentSpellTypes.AutoRepeat);
Passenger.RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags.Mount);
Passenger.RemoveAurasByType(AuraType.Mounted);
VehicleSeatRecord veSeat = Seat.Value.SeatInfo;