summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-26 06:11:35 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-26 06:11:35 +0000
commit24dd62552608e742190f194515e862774a872dcb (patch)
tree0f8c319f8b0c6abccb2dc3dcebb035a95a69c49e /src/char_sql/char.c
parentffcda2f3b7f7675dfe22ffccddbb3411f40ae514 (diff)
downloadhercules-24dd62552608e742190f194515e862774a872dcb.tar.gz
hercules-24dd62552608e742190f194515e862774a872dcb.tar.bz2
hercules-24dd62552608e742190f194515e862774a872dcb.tar.xz
hercules-24dd62552608e742190f194515e862774a872dcb.zip
* Fixed typos in char.c
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6766 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r--src/char_sql/char.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index 48b7a064c..ed76012d1 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -2784,8 +2784,8 @@ int parse_frommap(int fd) {
list[i].id = id;
list[i].fame = fame;
for(j = 0; j < char_num; j++) // Look for the player's name
- if(char_dat[j].status.char_id == id) {
- strncpy(list[j].name, char_dat[j].status.name, NAME_LENGTH);
+ if(char_dat[j].char_id == id) {
+ strncpy(list[j].name, char_dat[j].name, NAME_LENGTH);
break;
}
break;