Core/Units: Encapsulate UNIT_CHANNEL_* fields

This commit is contained in:
Shauren
2017-11-06 23:32:25 +01:00
parent b49fa9658a
commit 965f4de083
5 changed files with 13 additions and 6 deletions

View File

@@ -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();