From 64bbdb550b21210c090b93cbdeb3124aff48d607 Mon Sep 17 00:00:00 2001 From: Dastgir Date: Sun, 7 Oct 2018 11:51:14 +0530 Subject: Fixed a condition which was always false in rodex. --- src/map/clif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/clif.c b/src/map/clif.c index 76625f0ba..f7c5af0e8 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -15876,7 +15876,7 @@ static void clif_parse_Mail_getattach(int fd, struct map_session_data *sd) if( sd->mail.inbox.msg[i].zeny < 1 && (sd->mail.inbox.msg[i].item.nameid < 1 || sd->mail.inbox.msg[i].item.amount < 1) ) return; - if( sd->mail.inbox.msg[i].zeny + sd->status.zeny > MAX_ZENY ) { + if( sd->mail.inbox.msg[i].zeny > MAX_ZENY - sd->status.zeny ) { clif->mail_getattachment(fd, 1); return; } -- cgit v1.2.3-70-g09d2