Core/Vehicles: Some research on VehicleSeatFlagsB.
It is assumed that VehicleSeatFlagsB & 322 means the seat can be used indirectly (ie. by aura 236 (SPELL_AURA_CONTROL_VEHICLE)) even though !(VehicleSeatFlags & VEHICLE_SEAT_FLAG_USABLE). More research to be done Soon (tm). --HG-- branch : trunk
This commit is contained in:
@@ -4225,11 +4225,8 @@ void AuraEffect::HandleAuraControlVehicle(AuraApplication const * aurApp, uint8
|
||||
return;
|
||||
|
||||
if (apply)
|
||||
{
|
||||
//if (caster->GetTypeId() == TYPEID_PLAYER)
|
||||
// if (Pet *pet = caster->ToPlayer()->GetPet())
|
||||
// pet->Remove(PET_SAVE_AS_CURRENT);
|
||||
caster->EnterVehicle(target->GetVehicleKit(), m_amount - 1);
|
||||
{
|
||||
caster->EnterVehicle(target->GetVehicleKit(), m_amount - 1, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user