summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-08-27 05:14:42 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-08-27 05:14:42 +0000
commit46311a784a46d1f1afb3173e73aff722f2208958 (patch)
tree9e2994a1e7b73e49cde2b6ff7b266673b9c29c40 /src/map/clif.c
parenta81c829b99bfd0ace0fa49c682cc0e04e2711dbe (diff)
downloadhercules-46311a784a46d1f1afb3173e73aff722f2208958.tar.gz
hercules-46311a784a46d1f1afb3173e73aff722f2208958.tar.bz2
hercules-46311a784a46d1f1afb3173e73aff722f2208958.tar.xz
hercules-46311a784a46d1f1afb3173e73aff722f2208958.zip
- Fixed typo in Hyegun_Hat (5367). (bugreport:1935)
- Added missing bonuses to Mask_Of_Ifrit (5420). (bugreport:2188) - Added better examples for some documentation. - Fixed item loss from mail if you are OVER 100% overweight. (bugreport:1862) - Fixed 'waitingroom2bg' checking wrong parameter. (bugreport:3330) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14034 54d463be-8e91-2dee-dedb-b68131a5f0ec
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;