[Build] Most errors fixed

This commit is contained in:
Antz 2015-02-07 22:46:39 +00:00 committed by Antz
parent 868302dd0b
commit 778052084e
70 changed files with 619 additions and 602 deletions

View file

@ -38,7 +38,7 @@ void ConfusedMovementGenerator<T>::Initialize(T& unit)
// set initial position
unit.GetPosition(i_x, i_y, i_z);
if (!unit.isAlive() || unit.hasUnitState(UNIT_STAT_NOT_MOVE))
if (!unit.IsAlive() || unit.hasUnitState(UNIT_STAT_NOT_MOVE))
return;
unit.StopMoving();
@ -58,7 +58,7 @@ void ConfusedMovementGenerator<T>::Reset(T& unit)
{
i_nextMoveTime.Reset(0);
if (!unit.isAlive() || unit.hasUnitState(UNIT_STAT_NOT_MOVE))
if (!unit.IsAlive() || unit.hasUnitState(UNIT_STAT_NOT_MOVE))
return;
unit.StopMoving();