Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp
- index a2e70e9..ad0ba65 100644
- --- a/src/server/game/AI/SmartScripts/SmartScript.cpp
- +++ b/src/server/game/AI/SmartScripts/SmartScript.cpp
- @@ -2752,10 +2752,14 @@ void SmartScript::OnUpdate(uint32 const diff)
- bool needCleanup = true;
- if (!mTimedActionList.empty())
- {
- + int j = 0;
- for (SmartAIEventList::iterator i = mTimedActionList.begin(); i != mTimedActionList.end(); ++i)
- {
- + ++j;
- + sLog->outCrash("Loop nº %d",j);
- if ((*i).enableTimed)
- {
- + sLog->outCrash("(*i).enableTimed = TRUE");
- UpdateTimer(*i, diff);
- needCleanup = false;
- }
Add Comment
Please, Sign In to add comment