diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-09 23:23:43 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-03-09 23:23:43 +0000 |
commit | 2e6b60b75297768f421f26a251491ab0e80dc30c (patch) | |
tree | 6f0592df18ced3dcd1cf5d812c226bf25bd7b06b /src | |
parent | c26870103f6031b315bdc1a4553f5cc47bb43ef0 (diff) | |
download | hercules-2e6b60b75297768f421f26a251491ab0e80dc30c.tar.gz hercules-2e6b60b75297768f421f26a251491ab0e80dc30c.tar.bz2 hercules-2e6b60b75297768f421f26a251491ab0e80dc30c.tar.xz hercules-2e6b60b75297768f421f26a251491ab0e80dc30c.zip |
- Fixed a bug in the pc_skillreset function.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5543 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/pc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 58879802b..86c298376 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -5145,6 +5145,7 @@ int pc_resetskill(struct map_session_data* sd, int flag) else if (sd->status.skill[i].flag > 2 && sd->status.skill[i].flag != 13)
sd->status.skill_point += (sd->status.skill[i].flag - 2);
sd->status.skill[i].lv = 0;
+ sd->status.skill[i].flag = 0;
}
else if (battle_config.quest_skill_reset && (inf2&INF2_QUEST_SKILL))
{
|