parent
b2aa7e698d
commit
4dfeeade06
@ -15231,9 +15231,9 @@ void clif_Mail_read(struct map_session_data *sd, int mail_id)
|
|||||||
struct mail_message *msg = &sd->mail.inbox.msg[i];
|
struct mail_message *msg = &sd->mail.inbox.msg[i];
|
||||||
struct item *item;
|
struct item *item;
|
||||||
struct item_data *data;
|
struct item_data *data;
|
||||||
int msg_len = strlen(msg->body), len, count = 0;
|
int msg_len = strlen(msg->body), len;
|
||||||
#if PACKETVER >= 20150513
|
#if PACKETVER >= 20150513
|
||||||
int offset, j, itemsize;
|
int offset, j, itemsize, count = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if( msg_len == 0 ) {
|
if( msg_len == 0 ) {
|
||||||
|
@ -132,7 +132,10 @@ enum mail_attach_result mail_setitem(struct map_session_data *sd, short idx, uin
|
|||||||
// clif_updatestatus(sd, SP_ZENY);
|
// clif_updatestatus(sd, SP_ZENY);
|
||||||
return MAIL_ATTACH_SUCCESS;
|
return MAIL_ATTACH_SUCCESS;
|
||||||
} else { // Item Transfer
|
} else { // Item Transfer
|
||||||
int i, j, total = 0;
|
int i;
|
||||||
|
#if PACKETVER >= 20150513
|
||||||
|
int j, total = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
idx -= 2;
|
idx -= 2;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user