diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-19 15:29:55 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-19 15:29:55 +0000 |
commit | 08187eb49f9c0cde90ea84abac1135557559ae45 (patch) | |
tree | 7712bc4115b1d4d0670ad7a025a761e627077041 /src/char_sql | |
parent | f0076b6d179e06f0a38a90333e26f78d02cd449b (diff) | |
download | hercules-08187eb49f9c0cde90ea84abac1135557559ae45.tar.gz hercules-08187eb49f9c0cde90ea84abac1135557559ae45.tar.bz2 hercules-08187eb49f9c0cde90ea84abac1135557559ae45.tar.xz hercules-08187eb49f9c0cde90ea84abac1135557559ae45.zip |
- Fixed the homun creation sql statement. Why noone else did so before?
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7749 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-rw-r--r-- | src/char_sql/int_homun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/int_homun.c b/src/char_sql/int_homun.c index 9bfe42072..7662784a3 100644 --- a/src/char_sql/int_homun.c +++ b/src/char_sql/int_homun.c @@ -124,7 +124,7 @@ int mapif_save_homunculus(int fd, int account_id, struct s_homunculus *hd) sprintf(tmp_sql, "INSERT INTO `homunculus` "
"(`char_id`, `class`,`name`,`level`,`exp`,`intimacy`,`hunger`, `str`, `agi`, `vit`, `int`, `dex`, `luk`, `hp`,`max_hp`,`sp`,`max_sp`,`skill_point`, `rename_flag`, `vaporize`) "
- "VALUES ('%d', '%d', '%s', '%d', '%lu', '%lu', '%d', '%d', %d, '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d')",
+ "VALUES ('%d', '%d', '%s', '%d', '%lu', '%lu', '%d', '%d', %d, '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d', '%d')",
hd->char_id, hd->class_,hd->name,hd->level,hd->exp,hd->intimacy,hd->hunger, hd->str, hd->agi, hd->vit, hd->int_, hd->dex, hd->luk,
hd->hp,hd->max_hp,hd->sp,hd->max_sp, hd->skillpts, hd->rename_flag, hd->vaporize);
|