Core/Units: Fixed crash happening when charm was removed by its own charmed AI during update
Port From (https://github.com/TrinityCore/TrinityCore/commit/f3c1b27c266e2857214a087fdd9339e06dbedf5e)
This commit is contained in:
@@ -33,6 +33,7 @@ namespace Game.Entities
|
||||
//AI
|
||||
protected UnitAI i_AI;
|
||||
protected UnitAI i_disabledAI;
|
||||
UnitAI i_lockedAILifetimeExtension; // yes, this lifetime extension is terrible
|
||||
bool m_aiLocked;
|
||||
|
||||
//Movement
|
||||
|
||||
Reference in New Issue
Block a user