diff options
author | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-17 13:28:32 +0000 |
---|---|---|
committer | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-17 13:28:32 +0000 |
commit | d5afc60338c63c69ca26211131d98986b6b5ca82 (patch) | |
tree | 9a33db8ee4b3d460295ea8fbab9aed302aa0d1ac /src | |
parent | 430800662d0f5f0df66b8745d5348668ebba060f (diff) | |
download | hercules-d5afc60338c63c69ca26211131d98986b6b5ca82.tar.gz hercules-d5afc60338c63c69ca26211131d98986b6b5ca82.tar.bz2 hercules-d5afc60338c63c69ca26211131d98986b6b5ca82.tar.xz hercules-d5afc60338c63c69ca26211131d98986b6b5ca82.zip |
Forgot one in in_homun.c :s
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10277 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-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 049530607..2260ddf20 100644 --- a/src/char_sql/int_homun.c +++ b/src/char_sql/int_homun.c @@ -145,7 +145,7 @@ int mapif_load_homunculus(int fd){ RFIFOHEAD(fd); memset(homun_pt, 0, sizeof(struct s_homunculus)); - sprintf(tmp_sql,"SELECT `homun_id`,`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` FROM `homunculus` WHERE `homun_id`='%lu'", RFIFOL(fd,6)); + sprintf(tmp_sql,"SELECT `homun_id`,`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` FROM `homunculus` WHERE `homun_id`='%u'", RFIFOL(fd,6)); if(mysql_query(&mysql_handle, tmp_sql) ) { ShowSQL("DB error - %s\n",mysql_error(&mysql_handle)); ShowDebug("at %s:%d - %s\n", __FILE__,__LINE__,tmp_sql); |