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:
Machiavelli
2010-12-27 16:55:17 +01:00
parent ef347b53ef
commit dd745ef326
6 changed files with 37 additions and 27 deletions
@@ -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
{