Core/SmartAI: removed depricated WP_LOAD, small fix to run-walk states when escorting, fix for escort invoker range check if no targets set

--HG--
branch : trunk
This commit is contained in:
Rat committed 2010-11-16 00:13:47 +01:00
1 parent 9abf7f98b3
commit 8bb215d938
4 files changed
+9 -16

No files matched your search

+3 -2
View File
@@ -90,7 +90,8 @@ void SmartAI::UpdateDespawn(const uint32 diff)
void SmartAI::Reset()
{
SetRun(true);
if (!HasEscortState(SMART_ESCORT_ESCORTING))//dont mess up escort movement after combat
SetRun(true);
GetScript()->OnReset();
}
@@ -413,7 +414,7 @@ bool SmartAI::IsEscortInvokerInRange()
}
}
}
return false;
return true;//escort targets were not set, ignore range check
}
void SmartAI::MovepointReached(uint32 id)