diff options
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r-- | src/game/Unit.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index 8fdf7133ec4..06ed28d9f0f 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1629,8 +1629,9 @@ class TRINITY_DLL_SPEC Unit : public WorldObject bool m_ControlledByPlayer; - void EnterVehicle(Vehicle *vehicle); + void EnterVehicle(Vehicle *vehicle, int8 seatId = -1); void ExitVehicle(); + void ChangeSeat(int8 seatId, bool next = true); // Transports Transport * GetTransport() const { return m_transport; } |