diff options
-rw-r--r-- | src/game/Player.cpp | 2 | ||||
-rw-r--r-- | src/game/Unit.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 907d648f87f..0510fca231c 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -277,8 +277,6 @@ UpdateMask Player::updateVisualBits; Player::Player (WorldSession *session): Unit(), m_achievementMgr(this), m_reputationMgr(this) { - m_transport = 0; - m_speakTime = 0; m_speakCount = 0; diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index a859957d53e..70a6c461f4a 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -81,7 +81,7 @@ static bool procPrepared = InitTriggerAuraData(); Unit::Unit() : WorldObject(), i_motionMaster(this), m_ThreatManager(this), m_HostilRefManager(this) , m_IsInNotifyList(false), m_Notified(false), IsAIEnabled(false), NeedChangeAI(false) -, i_AI(NULL), i_disabledAI(NULL), m_removedAurasCount(0), m_Vehicle(NULL) +, i_AI(NULL), i_disabledAI(NULL), m_removedAurasCount(0), m_Vehicle(NULL), m_transport(NULL) , m_ControlledByPlayer(false) { m_objectType |= TYPEMASK_UNIT; |