From 56529fcd66b82d9fa23aed77e7c92f07eb290a8c Mon Sep 17 00:00:00 2001
From: shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Date: Fri, 17 Feb 2012 16:48:41 +0000
Subject: Fixed bug with 3rd classes bypassing player_skillup_limit config

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15594 54d463be-8e91-2dee-dedb-b68131a5f0ec
---
 src/map/pc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/map/pc.c b/src/map/pc.c
index 7d93442cb..10eb3b27d 100644
--- a/src/map/pc.c
+++ b/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;
 }
 
-- 
cgit v1.2.3-70-g09d2