mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-03 15:47:04 +01:00
Core/Units: Encapsulate UNIT_CHANNEL_* fields
This commit is contained in:
@@ -245,7 +245,7 @@ public:
|
||||
if (me->IsWithinDistInMap(mekgineer, MAX_REPAIR_RANGE))
|
||||
{
|
||||
//are we already channeling? Doesn't work very well, find better check?
|
||||
if (!me->GetUInt32Value(UNIT_CHANNEL_SPELL))
|
||||
if (!me->GetChannelSpellId())
|
||||
{
|
||||
//me->GetMotionMaster()->MovementExpired();
|
||||
//me->GetMotionMaster()->MoveIdle();
|
||||
|
||||
Reference in New Issue
Block a user