*Fix a crash caused by uninitialized variable "m_transport"
--HG-- branch : trunk
This commit is contained in:
@@ -277,8 +277,6 @@ UpdateMask Player::updateVisualBits;
|
|||||||
|
|
||||||
Player::Player (WorldSession *session): Unit(), m_achievementMgr(this), m_reputationMgr(this)
|
Player::Player (WorldSession *session): Unit(), m_achievementMgr(this), m_reputationMgr(this)
|
||||||
{
|
{
|
||||||
m_transport = 0;
|
|
||||||
|
|
||||||
m_speakTime = 0;
|
m_speakTime = 0;
|
||||||
m_speakCount = 0;
|
m_speakCount = 0;
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -81,7 +81,7 @@ static bool procPrepared = InitTriggerAuraData();
|
|||||||
Unit::Unit()
|
Unit::Unit()
|
||||||
: WorldObject(), i_motionMaster(this), m_ThreatManager(this), m_HostilRefManager(this)
|
: WorldObject(), i_motionMaster(this), m_ThreatManager(this), m_HostilRefManager(this)
|
||||||
, m_IsInNotifyList(false), m_Notified(false), IsAIEnabled(false), NeedChangeAI(false)
|
, 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_ControlledByPlayer(false)
|
||||||
{
|
{
|
||||||
m_objectType |= TYPEMASK_UNIT;
|
m_objectType |= TYPEMASK_UNIT;
|
||||||
|
|||||||
Reference in New Issue
Block a user