diff options
author | xazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-22 17:13:49 +0000 |
---|---|---|
committer | xazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-22 17:13:49 +0000 |
commit | 60fe89f05fdaaf600898c06f712282f0ac7b0387 (patch) | |
tree | 3f4aae43a624104d25ab856c0e3475166b244ff3 /src/map/pc.c | |
parent | 1bf0254f3bfc9a728814a32dc29759a784607520 (diff) | |
download | hercules-60fe89f05fdaaf600898c06f712282f0ac7b0387.tar.gz hercules-60fe89f05fdaaf600898c06f712282f0ac7b0387.tar.bz2 hercules-60fe89f05fdaaf600898c06f712282f0ac7b0387.tar.xz hercules-60fe89f05fdaaf600898c06f712282f0ac7b0387.zip |
Removed a redundant check. Rebranding a variable.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15213 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 32dfa6125..3bf509685 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -5614,14 +5614,14 @@ int pc_resetskill(struct map_session_data* sd, int flag) continue; // Don't reset trick dead if not a novice/baby - if( i == NV_TRICKDEAD && (sd->class_&MAPID_UPPERMASK) != MAPID_NOVICE && (sd->class_&MAPID_UPPERMASK) != MAPID_BABY ) + if( i == NV_TRICKDEAD && (sd->class_&MAPID_UPPERMASK) != MAPID_NOVICE ) { sd->status.skill[i].lv = 0; sd->status.skill[i].flag = 0; continue; } - if( i == NV_BASIC && (sd->class_&MAPID_UPPERMASK) != MAPID_NOVICE && (sd->class_&MAPID_UPPERMASK) != MAPID_BABY ) + if( i == NV_BASIC && (sd->class_&MAPID_UPPERMASK) != MAPID_NOVICE ) { // Official server does not include Basic Skill to be resetted. [Jobbie] sd->status.skill[i].lv = 9; sd->status.skill[i].flag = SKILL_FLAG_PERMANENT; |