diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-02 23:54:50 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-02 23:54:50 +0000 |
commit | d2f27c0797129497441a47fbb04e0f033fdd341d (patch) | |
tree | 536d659e3f7e1c1a51ed62d14eb05b7264cbd159 | |
parent | 8ed087a2f8d061181f3aea7b0cd48d492753ac29 (diff) | |
download | hercules-d2f27c0797129497441a47fbb04e0f033fdd341d.tar.gz hercules-d2f27c0797129497441a47fbb04e0f033fdd341d.tar.bz2 hercules-d2f27c0797129497441a47fbb04e0f033fdd341d.tar.xz hercules-d2f27c0797129497441a47fbb04e0f033fdd341d.zip |
Fixed bugreport:5018 skills permanently granted through scripts are now 100% functional.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15825 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | src/map/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 14d12ca5a..97c0a7371 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -1274,7 +1274,7 @@ int pc_calc_skilltree(struct map_session_data *sd) for( i = 0; i < MAX_SKILL; i++ ) { - if( sd->status.skill[i].flag != SKILL_FLAG_PLAGIARIZED ) //Don't touch plagiarized skills + if( sd->status.skill[i].flag != SKILL_FLAG_PLAGIARIZED && sd->status.skill[i].flag != SKILL_FLAG_PERMANENT ) //Don't touch plagiarized skills sd->status.skill[i].id = 0; //First clear skills. } |