summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-22 11:40:48 -0300
committershennetsind <ind@henn.et>2013-07-22 11:40:48 -0300
commit00dd6a4973bd9e7e324621f526c4489bd6e5bdf0 (patch)
tree58abe6bdd6e376d2fb8fc1bd71d3db45a11bcfc0 /src/map
parent68fb17f516928242d9d1b4144038d933bfdd7eec (diff)
downloadhercules-00dd6a4973bd9e7e324621f526c4489bd6e5bdf0.tar.gz
hercules-00dd6a4973bd9e7e324621f526c4489bd6e5bdf0.tar.bz2
hercules-00dd6a4973bd9e7e324621f526c4489bd6e5bdf0.tar.xz
hercules-00dd6a4973bd9e7e324621f526c4489bd6e5bdf0.zip
Fixed Bug #7564
Trickdead will now go away upon job changing to a non-novice class, pre-existing non-novice characters with the trickdead skill granted will automatically be fixed on login (unless the skill was granted via flag 3) Special Thanks to bgamez23 http://hercules.ws/board/tracker/issue-7564-platinum-skill-is-not-remove-right-after-i-change-job/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index e14f9b807..d58e39227 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -1331,7 +1331,7 @@ int pc_calc_skilltree(struct map_session_data *sd)
if( sd->status.skill[i].flag != SKILL_FLAG_PLAGIARIZED && sd->status.skill[i].flag != SKILL_FLAG_PERM_GRANTED ) //Don't touch these
sd->status.skill[i].id = 0; //First clear skills.
/* permanent skills that must be re-checked */
- if( sd->status.skill[i].flag == SKILL_FLAG_PERM_GRANTED ) {
+ if( sd->status.skill[i].flag == SKILL_FLAG_PERMANENT ) {
switch( skill_db[i].nameid ) {
case NV_TRICKDEAD:
if( (sd->class_&MAPID_UPPERMASK) != MAPID_NOVICE ) {