We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 052cbc8 + 64bbdb5 commit 776befcCopy full SHA for 776befc
src/map/clif.c
@@ -16891,7 +16891,7 @@ static void clif_parse_Mail_getattach(int fd, struct map_session_data *sd)
16891
if( sd->mail.inbox.msg[i].zeny < 1 && (sd->mail.inbox.msg[i].item.nameid < 1 || sd->mail.inbox.msg[i].item.amount < 1) )
16892
return;
16893
16894
- if( sd->mail.inbox.msg[i].zeny + sd->status.zeny > MAX_ZENY ) {
+ if( sd->mail.inbox.msg[i].zeny > MAX_ZENY - sd->status.zeny ) {
16895
clif->mail_getattachment(fd, 1);
16896
16897
}
0 commit comments