Core/Vehicles: Chart VEHICLE_SEAT_FLAG_UNCONTROLLED and implement usage. Concerns vehicleseat enter/exit capabilities. Fixes vehicles related to Malygos encounter.

Original research by rsa, thanks to Manuel for pointing out.
This commit is contained in:
Machiavelli
2011-02-19 21:58:50 +01:00
parent 7e2ddb2fd3
commit c0b29fd0ad
5 changed files with 17 additions and 21 deletions
+1 -1
View File
@@ -2029,7 +2029,7 @@ class Unit : public WorldObject
void EnterVehicle(Unit *base, int8 seatId = -1, AuraApplication const * aurApp = NULL) { EnterVehicle(base->GetVehicleKit(), seatId, aurApp); }
void EnterVehicle(Vehicle *vehicle, int8 seatId = -1, AuraApplication const * aurApp = NULL);
void ExitVehicle();
void ChangeSeat(int8 seatId, bool next = true, bool byAura = false);
void ChangeSeat(int8 seatId, bool next = true);
void BuildMovementPacket(ByteBuffer *data) const;