*Fix a crash caused by uninitialized variable "m_transport"

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-01 17:40:27 -05:00
parent b3ec053839
commit e1b8fff590
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -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;
+1 -1
View File
@@ -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;