summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-01-05 15:34:09 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-01-05 15:34:09 +0000
commit719a3c6f819cdd752d1719d8ed1cf21e47d8bbc5 (patch)
treee096d34994f74adbd14d6b016346a8c4fd598b9d /src/map/clif.c
parent91d9a6f88a6eb8dea142a1c6bdb20385fa8a3721 (diff)
downloadhercules-719a3c6f819cdd752d1719d8ed1cf21e47d8bbc5.tar.gz
hercules-719a3c6f819cdd752d1719d8ed1cf21e47d8bbc5.tar.bz2
hercules-719a3c6f819cdd752d1719d8ed1cf21e47d8bbc5.tar.xz
hercules-719a3c6f819cdd752d1719d8ed1cf21e47d8bbc5.zip
Moved the 'changed' mailbox flag from shared mmo.h to mapserver-only.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13433 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 4031a9243..43eac298c 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -11613,7 +11613,7 @@ void clif_parse_Mail_refreshinbox(int fd, struct map_session_data *sd)
{
struct mail_data* md = &sd->mail.inbox;
- if( md->amount < MAIL_MAX_INBOX && (md->full || md->changed) )
+ if( md->amount < MAIL_MAX_INBOX && (md->full || sd->mail.changed) )
intif_Mail_requestinbox(sd->status.char_id, 1);
else
clif_Mail_refreshinbox(sd);