Browse Source

Fixed bug with 3rd classes bypassing player_skillup_limit config

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15594 54d463be-8e91-2dee-dedb-b68131a5f0ec
shennetsind 13 years ago
parent
commit
c99d6a3e95
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/map/pc.c

+ 2 - 1
src/map/pc.c

@@ -1514,7 +1514,8 @@ int pc_calc_skilltree_normalize_job(struct map_session_data *sd)
 		c |= JOBL_UPPER;
 	else if (sd->class_&JOBL_BABY) //Convert to Baby
 		c |= JOBL_BABY;
-
+	if( sd->class_&JOBL_THIRD && skill_point < 107 )//bugreport:5329, require to spend all 2.x points in your 2.x
+		c &= MAPID_UPPERMASK;	
 	return c;
 }