- Some "expire_time" = 0 considerations. Please update. (Bugreport 2451)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13373 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
zephyrus
2008-11-17 15:43:13 +00:00
parent fab4e27896
commit bd429b5a92
3 changed files with 8 additions and 4 deletions

View File

@@ -216,6 +216,7 @@ void inter_auctions_fromsql(void)
item->identify = 1;
item->amount = 1;
item->expire_time = 0;
for( i = 0; i < MAX_SLOTS; i++ )
{

View File

@@ -61,6 +61,7 @@ static int mail_fromsql(int char_id, struct mail_data* md)
Sql_GetData(sql_handle,12, &data, NULL); item->refine = atoi(data);
Sql_GetData(sql_handle,13, &data, NULL); item->attribute = atoi(data);
Sql_GetData(sql_handle,14, &data, NULL); item->identify = atoi(data);
item->expire_time = 0;
for (j = 0; j < MAX_SLOTS; j++)
{
@@ -176,6 +177,8 @@ static bool mail_loadmessage(int mail_id, struct mail_message* msg)
Sql_GetData(sql_handle,12, &data, NULL); msg->item.refine = atoi(data);
Sql_GetData(sql_handle,13, &data, NULL); msg->item.attribute = atoi(data);
Sql_GetData(sql_handle,14, &data, NULL); msg->item.identify = atoi(data);
msg->item.expire_time = 0;
for( j = 0; j < MAX_SLOTS; j++ )
{
Sql_GetData(sql_handle,15 + j, &data, NULL);