summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-24 03:45:45 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-24 03:45:45 +0000
commitf3d5e6ef7b9e66bcf04ee91b0cd706c5a5c70a12 (patch)
treeaaffbb3b1153c55d0e5015a412d519857210e5bd /src/map/pc.c
parent6a6ecaf8ff94fb319767c2707f06087415624637 (diff)
downloadhercules-f3d5e6ef7b9e66bcf04ee91b0cd706c5a5c70a12.tar.gz
hercules-f3d5e6ef7b9e66bcf04ee91b0cd706c5a5c70a12.tar.bz2
hercules-f3d5e6ef7b9e66bcf04ee91b0cd706c5a5c70a12.tar.xz
hercules-f3d5e6ef7b9e66bcf04ee91b0cd706c5a5c70a12.zip
Fix
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@764 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 151ec47a3..aab6e406b 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -416,8 +416,7 @@ int pc_makesavestatus(struct map_session_data *sd)
sd->status.skill[i].id=0;
sd->status.skill[i].lv=0;
sd->status.skill[i].flag=0;
- } else if ((sd->status.skill[i].lv != 0) && (sd->status.skill[i].id == 0))
- sd->status.skill[i].id = i;
+ }
}
return 0;