summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2013-03-22 22:41:22 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2013-03-22 22:41:22 +0800
commit61a450b27d184ba336dc3f0899f7790e938ec463 (patch)
tree411ef071eb11139ae28327f3db0a0b2e4f8a7ac2 /src/map/pc.c
parentc58f741a0f2b807cbeb065c2dbbfe4f86dfb95b2 (diff)
downloadhercules-61a450b27d184ba336dc3f0899f7790e938ec463.tar.gz
hercules-61a450b27d184ba336dc3f0899f7790e938ec463.tar.bz2
hercules-61a450b27d184ba336dc3f0899f7790e938ec463.tar.xz
hercules-61a450b27d184ba336dc3f0899f7790e938ec463.zip
Fixed Bug #7101
-where Taekwon in the fame ranking loses there skill tree when changing state(map change, equipping & etc). Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map/pc.c')
-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 4bd66a67c..1cb1c1f9e 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -1442,7 +1442,7 @@ int pc_calc_skilltree(struct map_session_data *sd)
sd->status.skill[id].id = id;
sd->status.skill[id].flag = SKILL_FLAG_TEMPORARY; // So it is not saved, and tagged as a "bonus" skill.
}
- else
+ else if( id != NV_BASIC)
{
sd->status.skill[id].flag = SKILL_FLAG_REPLACED_LV_0 + sd->status.skill[id].lv; // Remember original level
}