aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-01 17:40:27 -0500
committermegamage <none@none>2009-05-01 17:40:27 -0500
commite1b8fff590c6aca21297ecc638b29b59c4507cfe (patch)
tree52c623cc0a3617ec125eb97cfa771f9c6cb88308 /src/game/Unit.cpp
parentb3ec053839da72333797508126f2f4f1e18b0781 (diff)
*Fix a crash caused by uninitialized variable "m_transport"
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
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;