aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-21 12:55:26 -0500
committermegamage <none@none>2009-04-21 12:55:26 -0500
commit4e1143c990154e2dc52ddacdc522f89e455338cc (patch)
treece87b2c4db3e7978330cc759fc344992e994c5b9 /src/game/Unit.h
parent9e46994506616bc4ffd6aa84267c785e833bbc87 (diff)
*Fix a crash of vehicle.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r--src/game/Unit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h
index 3db7573a8b2..1e50ed1e255 100644
--- a/src/game/Unit.h
+++ b/src/game/Unit.h
@@ -1626,6 +1626,9 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
int8 GetTransSeat() const { return m_movementInfo.t_seat; }
bool m_ControlledByPlayer;
+
+ void EnterVehicle(Vehicle *vehicle);
+ void ExitVehicle();
protected:
explicit Unit ();