mackal

Untitled

Apr 2nd, 2014
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.42 KB | None | 0 0
  1. --- a/MQ2Main/MQ2Pulse.cpp  Mon Mar 24 15:30:12 2014
  2. +++ b/MQ2Main/MQ2Pulse.cpp  Wed Mar 26 22:59:39 2014
  3. @@ -150,6 +150,7 @@
  4.          }
  5.          else
  6.              PVPServer=PVP_NONE;
  7. +        srand((unsigned int)time(NULL) + (unsigned int)GetCurrentProcessId()); // reseed
  8.          Benchmark(bmPluginsSetGameState,PluginsZoned());
  9.  
  10.      } else if ((LastX!=pChar->X) || (LastY!=pChar->Y) || LastMoveTick>GetTickCount()-100) {
Advertisement
Add Comment
Please, Sign In to add comment