Core/Units: removed a deprecated pointer initialization for m_vehicleKit

This commit is contained in:
Ovahlord committed 2023-07-09 11:51:35 +02:00
1 parent 76a9918b0d
commit 833b77c05e
1 file changed
+1 -2
+1 -2
View File
@@ -301,8 +301,7 @@ Unit::Unit(bool isWorldObject) :
m_interruptMask(SpellAuraInterruptFlags::None), m_interruptMask2(SpellAuraInterruptFlags2::None),
m_charmer(nullptr), m_charmed(nullptr),
i_motionMaster(std::make_unique<MotionMaster>(this)), m_vehicle(nullptr),
m_vehicleKit(nullptr), m_unitTypeMask(UNIT_MASK_NONE),
m_isEngaged(false), m_combatManager(this), m_threatManager(this),
m_unitTypeMask(UNIT_MASK_NONE), m_isEngaged(false), m_combatManager(this), m_threatManager(this),
i_AI(nullptr), m_aiLocked(false), m_spellHistory(std::make_unique<SpellHistory>(this)),
_isIgnoringCombat(false)
{