*Fix some bugs about vehicle.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-21 15:43:03 -05:00
parent c25158f836
commit 06667c40dd
4 changed files with 59 additions and 96 deletions
-9
View File
@@ -48,12 +48,10 @@ class DynamicObject;
class Creature;
class Pet;
class PlayerMenu;
class Transport;
class UpdateMask;
class SpellCastTargets;
class PlayerSocial;
class OutdoorPvP;
class Vehicle;
typedef std::deque<Mail*> PlayerMails;
@@ -1910,10 +1908,6 @@ class TRINITY_DLL_SPEC Player : public Unit
void StopCastingCharm();
void StopCastingBindSight();
// Transports
Transport * GetTransport() const { return m_transport; }
void SetTransport(Transport * t) { m_transport = t; }
uint32 GetSaveTimer() const { return m_nextSave; }
void SetSaveTimer(uint32 timer) { m_nextSave = timer; }
@@ -2234,9 +2228,6 @@ class TRINITY_DLL_SPEC Player : public Unit
RestType rest_type;
////////////////////Rest System/////////////////////
// Transports
Transport * m_transport;
uint32 m_resetTalentsCost;
time_t m_resetTalentsTime;
uint32 m_usedTalentCount;