Revert "refactor(Core/Movement): Naming convention" (#14100)
Revert "refactor(Core/Movement): Naming convention (#13989)"
This reverts commit d2f440c3e8.
This commit is contained in:
parent
35e4b935b8
commit
19fa22ba92
19 changed files with 148 additions and 149 deletions
|
|
@ -30,7 +30,7 @@ void HomeMovementGenerator<Creature>::DoInitialize(Creature* owner)
|
|||
void HomeMovementGenerator<Creature>::DoFinalize(Creature* owner)
|
||||
{
|
||||
owner->ClearUnitState(UNIT_STATE_EVADE);
|
||||
if (_arrived)
|
||||
if (arrived)
|
||||
{
|
||||
// Xinef: npc run by default
|
||||
//owner->SetWalk(true);
|
||||
|
|
@ -68,15 +68,15 @@ void HomeMovementGenerator<Creature>::_setTargetLocation(Creature* owner)
|
|||
init.SetWalk(false);
|
||||
init.Launch();
|
||||
|
||||
_arrived = false;
|
||||
arrived = false;
|
||||
|
||||
owner->ClearUnitState(uint32(UNIT_STATE_ALL_STATE & ~(UNIT_STATE_POSSESSED | UNIT_STATE_EVADE | UNIT_STATE_IGNORE_PATHFINDING | UNIT_STATE_NO_ENVIRONMENT_UPD)));
|
||||
}
|
||||
|
||||
bool HomeMovementGenerator<Creature>::DoUpdate(Creature* owner, const uint32 /*time_diff*/)
|
||||
{
|
||||
_arrived = owner->movespline->Finalized();
|
||||
if (_arrived)
|
||||
arrived = owner->movespline->Finalized();
|
||||
if (arrived)
|
||||
return false;
|
||||
|
||||
if (i_recalculateTravel)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue