summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-17 16:48:41 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-17 16:48:41 +0000
commit56529fcd66b82d9fa23aed77e7c92f07eb290a8c (patch)
tree7fffbb818cabdf26b0774395449da3f71ce7f305
parent6ed22f13e76053ac76e0c74a01b62330c7331b71 (diff)
downloadhercules-56529fcd66b82d9fa23aed77e7c92f07eb290a8c.tar.gz
hercules-56529fcd66b82d9fa23aed77e7c92f07eb290a8c.tar.bz2
hercules-56529fcd66b82d9fa23aed77e7c92f07eb290a8c.tar.xz
hercules-56529fcd66b82d9fa23aed77e7c92f07eb290a8c.zip
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
-rw-r--r--src/map/pc.c3
1 files changed, 2 insertions, 1 deletions
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;
}