Core/SAI: Run mode should not be set to true each time a creature resets, it should use its previous value

Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
This commit is contained in:
Subv2112
2012-01-27 08:34:36 -05:00
parent 6c1815db7f
commit e43b1cd750

View File

@@ -89,7 +89,7 @@ void SmartAI::UpdateDespawn(const uint32 diff)
void SmartAI::Reset()
{
if (!HasEscortState(SMART_ESCORT_ESCORTING))//dont mess up escort movement after combat
SetRun(true);
SetRun(mRun);
GetScript()->OnReset();
}