diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-11-17 15:47:29 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-11-17 15:47:29 +0000 |
commit | 1ef8b3402619bf072930e530802401ebdf2fe980 (patch) | |
tree | 3a27300a498c2be405366cf49114919ba12f43fe /src/char_sql/int_storage.c | |
parent | 3dad62b22c6662d2ab290022c261375e71a9ee6e (diff) | |
download | hercules-1ef8b3402619bf072930e530802401ebdf2fe980.tar.gz hercules-1ef8b3402619bf072930e530802401ebdf2fe980.tar.bz2 hercules-1ef8b3402619bf072930e530802401ebdf2fe980.tar.xz hercules-1ef8b3402619bf072930e530802401ebdf2fe980.zip |
followup
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13374 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/int_storage.c')
-rw-r--r-- | src/char_sql/int_storage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/char_sql/int_storage.c b/src/char_sql/int_storage.c index d85c4cf07..cc6ccd1b7 100644 --- a/src/char_sql/int_storage.c +++ b/src/char_sql/int_storage.c @@ -59,6 +59,7 @@ int storage_fromsql(int account_id, struct storage_data* p) Sql_GetData(sql_handle, 4, &data, NULL); item->identify = atoi(data); Sql_GetData(sql_handle, 5, &data, NULL); item->refine = atoi(data); Sql_GetData(sql_handle, 6, &data, NULL); item->attribute = atoi(data); + item->expire_time = 0; for( j = 0; j < MAX_SLOTS; ++j ) { Sql_GetData(sql_handle, 7+j, &data, NULL); item->card[j] = atoi(data); @@ -116,6 +117,7 @@ int guild_storage_fromsql(int guild_id, struct guild_storage* p) Sql_GetData(sql_handle, 4, &data, NULL); item->identify = atoi(data); Sql_GetData(sql_handle, 5, &data, NULL); item->refine = atoi(data); Sql_GetData(sql_handle, 6, &data, NULL); item->attribute = atoi(data); + item->expire_time = 0; for( j = 0; j < MAX_SLOTS; ++j ) { Sql_GetData(sql_handle, 7+j, &data, NULL); item->card[j] = atoi(data); |