Selaa lähdekoodia

Merge pull request #114 from rathena/hotfix/mail-cancel

Follow up 9b4d922.
Akkarinage 10 vuotta sitten
vanhempi
commit
9f8af95a88
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      src/map/mail.c

+ 2 - 0
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;