[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

@ -161,7 +161,7 @@ void FleeingMovementGenerator<T>::Reset(T& owner)
template<class T>
bool FleeingMovementGenerator<T>::Update(T& owner, const uint32& time_diff)
{
if (!&owner || !owner.isAlive())
if (!&owner || !owner.IsAlive())
return false;
// ignore in case other no reaction state
@ -196,7 +196,7 @@ void TimedFleeingMovementGenerator::Finalize(Unit& owner)
owner.clearUnitState(UNIT_STAT_FLEEING | UNIT_STAT_FLEEING_MOVE);
if (Unit* victim = owner.getVictim())
{
if (owner.isAlive())
if (owner.IsAlive())
{
owner.AttackStop(true);
((Creature*)&owner)->AI()->AttackStart(victim);
@ -206,7 +206,7 @@ void TimedFleeingMovementGenerator::Finalize(Unit& owner)
bool TimedFleeingMovementGenerator::Update(Unit& owner, const uint32& time_diff)
{
if (!owner.isAlive())
if (!owner.IsAlive())
return false;
// ignore in case other no reaction state