Advertisement
Guest User

Untitled

a guest
Apr 17th, 2012
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.39 KB | None | 0 0
  1. Index: trunk/src/map/pc.c
  2. ===================================================================
  3. --- trunk/src/map/pc.c  (revision 15869)
  4. +++ trunk/src/map/pc.c  (working copy)
  5. @@ -5488,6 +5488,8 @@
  6.         return 0;
  7.  
  8.     low = pc_getstat(sd,type);
  9. +   if ( low >= pc_maxparameter(sd) && val > 0 )
  10. +       return 0; // Official servers show '0' when max is reached
  11.     high = low + val;
  12.  
  13.     if ( val < 0 )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement