Core/Auras: Implement SpellAuraInterruptFlags2::AbandonVehicle (#28944)

This commit is contained in:
Teleqraph
2023-05-06 17:44:19 +02:00
committed by GitHub
parent 7c0ab49673
commit 513788e884
2 changed files with 3 additions and 1 deletions

View File

@@ -12363,6 +12363,8 @@ void Unit::_ExitVehicle(Position const* exitPosition)
else
ToTempSummon()->UnSummon(2000); // Approximation
}
RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags2::AbandonVehicle);
}
bool Unit::IsFalling() const

View File

@@ -123,7 +123,7 @@ enum class SpellAuraInterruptFlags2 : uint32
Transform = 0x00000010, // NYI
Jump = 0x00000020,
ChangeSpec = 0x00000040,
AbandonVehicle = 0x00000080, // NYI
AbandonVehicle = 0x00000080, // Implemented in Unit::_ExitVehicle
StartOfEncounter = 0x00000100, // NYI
EndOfEncounter = 0x00000200, // NYI
Disconnect = 0x00000400, // NYI