diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-07 02:37:47 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-07 02:37:47 +0000 |
commit | 4641fe9f49efdb3cf5dc7ef96f3d7838c6dab473 (patch) | |
tree | 2da9ea68921c0426e479cb96b1e74b92a5000c4a /src/map | |
parent | a7e426c8a3fd9e0b33d440c132749f35e634de33 (diff) | |
download | hercules-4641fe9f49efdb3cf5dc7ef96f3d7838c6dab473.tar.gz hercules-4641fe9f49efdb3cf5dc7ef96f3d7838c6dab473.tar.bz2 hercules-4641fe9f49efdb3cf5dc7ef96f3d7838c6dab473.tar.xz hercules-4641fe9f49efdb3cf5dc7ef96f3d7838c6dab473.zip |
- More official way of auction mails.
- Added a new condition in mail. If sender_id = 0 you just can't return that mail.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12313 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/clif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 3088b040b..a3ee81e0b 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -11615,7 +11615,7 @@ void clif_parse_Mail_return(int fd, struct map_session_data *sd) return; ARR_FIND(0, MAIL_MAX_INBOX, i, sd->mail.inbox.msg[i].id == mail_id); - if (i < MAIL_MAX_INBOX) + if( i < MAIL_MAX_INBOX && sd->mail.inbox.msg[i].send_id != 0 ) intif_Mail_return(sd->status.char_id, mail_id); else clif_Mail_return(sd->fd, mail_id, 1); |