*Fix a crash caused by uninitialized variable "m_transport"

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-05-01 17:40:27 -05:00
1 parent b3ec053839
commit e1b8fff590
2 files changed
+1 -3

No files matched your search

+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;