From e3a96c82977f919e3613b05de1cc88734a9dc5e4 Mon Sep 17 00:00:00 2001 From: Cydh Ramdh Date: Wed, 19 Nov 2014 02:50:32 +0700 Subject: [PATCH] Follow up 9b4d922. * Fixed Zeny doesn't updated when player cancels to send a mail with attached Zeny. Thank a91323 Signed-off-by: Cydh Ramdh --- src/map/mail.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/map/mail.c b/src/map/mail.c index 19819b76448..360e5c72130 100644 --- a/src/map/mail.c +++ b/src/map/mail.c @@ -52,6 +52,8 @@ int mail_removezeny(struct map_session_data *sd, short flag) { //Zeny send pc_payzeny(sd,sd->mail.zeny,LOG_TYPE_MAIL, NULL); } + if (sd->mail.zeny > 0) + clif_updatestatus(sd, SP_ZENY); sd->mail.zeny = 0; return 1;