TShelby

Metin2 | Core Crash GetExchange -> Victm

Oct 31st, 2018
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.36 KB | None | 0 0
  1. In:
  2.  
  3. void CHARACTER::StateMove()
  4.  
  5. Apoi in conditia :
  6.  
  7.         if (GetExchange())
  8.         {
  9.                 ....
  10.  
  11.  
  12. Cauti :
  13.  
  14.                 if (iDist >= EXCHANGE_MAX_DISTANCE)
  15.                 {
  16.                     GetExchange()->Cancel();
  17.                 }
  18. Inlocuiesti cu :
  19.  
  20.             if (victim)
  21.             {  
  22.                 if (iDist >= EXCHANGE_MAX_DISTANCE)
  23.                 {
  24.                     GetExchange()->Cancel();
  25.                 }
  26.             }
  27.         }
  28.  
  29. // Victim s-a returnat NULL.
Advertisement
Add Comment
Please, Sign In to add comment