daily pastebin goal
13%
SHARE
TWEET

Untitled

a guest May 17th, 2018 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp
  2. index a2e70e9..ad0ba65 100644
  3. --- a/src/server/game/AI/SmartScripts/SmartScript.cpp
  4. +++ b/src/server/game/AI/SmartScripts/SmartScript.cpp
  5. @@ -2752,10 +2752,14 @@ void SmartScript::OnUpdate(uint32 const diff)
  6.      bool needCleanup = true;
  7.      if (!mTimedActionList.empty())
  8.      {
  9. +        int j = 0;
  10.          for (SmartAIEventList::iterator i = mTimedActionList.begin(); i != mTimedActionList.end(); ++i)
  11.          {
  12. +            ++j;
  13. +            sLog->outCrash("Loop nÂș %d",j);
  14.              if ((*i).enableTimed)
  15.              {
  16. +                sLog->outCrash("(*i).enableTimed = TRUE");
  17.                  UpdateTimer(*i, diff);
  18.                  needCleanup = false;
  19.              }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top