summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 71df80b36..06a51354f 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -11959,7 +11959,7 @@ void clif_parse_Mail_getattach(int fd, struct map_session_data *sd)
}
weight = data->weight * sd->mail.inbox.msg[i].item.amount;
- if( weight > sd->max_weight - sd->weight )
+ if( sd->weight + weight > sd->max_weight )
{
clif_Mail_getattachment(fd, 2);
return;