From 00dd6a4973bd9e7e324621f526c4489bd6e5bdf0 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 22 Jul 2013 11:40:48 -0300 Subject: 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 --- src/map/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 ) { -- cgit v1.2.3-70-g09d2