diff options
author | Subv2112 <s.v.h21@hotmail.com> | 2012-01-27 08:34:36 -0500 |
---|---|---|
committer | Subv2112 <s.v.h21@hotmail.com> | 2012-01-27 08:34:36 -0500 |
commit | e43b1cd7500a11dac3a6e3375306bf041344df6f (patch) | |
tree | a44b37ded3c8cb8c0955e2b0b5316c43a2d88009 /src | |
parent | 6c1815db7f795e697f2df18a554f5b1a33e6c73a (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/AI/SmartScripts/SmartAI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartAI.cpp b/src/server/game/AI/SmartScripts/SmartAI.cpp index 79fe3df7ff7..d4b2a9746be 100644 --- a/src/server/game/AI/SmartScripts/SmartAI.cpp +++ b/src/server/game/AI/SmartScripts/SmartAI.cpp @@ -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(); } |