Core/Enums: Update vehicle seat flags and vehicle seat b flags (from WPP)

This commit is contained in:
Nay
2012-06-03 15:10:47 +01:00
parent 3b44401aa6
commit 4e745d2888
2 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -338,7 +338,7 @@ bool Vehicle::AddPassenger(Unit* unit, int8 seatId)
}
}
if (seat->second.SeatInfo->m_flags && !(seat->second.SeatInfo->m_flags & VEHICLE_SEAT_FLAG_UNK1))
if (seat->second.SeatInfo->m_flags && !(seat->second.SeatInfo->m_flags & VEHICLE_SEAT_FLAG_ALLOW_TURNING))
unit->AddUnitState(UNIT_STATE_ONVEHICLE);
unit->AddUnitMovementFlag(MOVEMENTFLAG_ONTRANSPORT);