diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-02 23:03:22 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-02 23:03:22 +0000 |
commit | ebf0ba7ddf1ef2c10515a1607ce7d4316e001a61 (patch) | |
tree | 51d030ed2e8e3c841690c3d879257270a2bb9064 /src/map/mail.h | |
parent | c90e9f42da90183a0be9c29a11beec7db606d44f (diff) | |
download | hercules-ebf0ba7ddf1ef2c10515a1607ce7d4316e001a61.tar.gz hercules-ebf0ba7ddf1ef2c10515a1607ce7d4316e001a61.tar.bz2 hercules-ebf0ba7ddf1ef2c10515a1607ce7d4316e001a61.tar.xz hercules-ebf0ba7ddf1ef2c10515a1607ce7d4316e001a61.zip |
- The last, i hope, fix to the mail system.
* kRO have a possible way to read mail by just sending the open mail window packet to the client.
This protection adds a mapflag town, to set the only maps that allow mail operations.
because there is no way to know when client closes the mail inbox window. *
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12279 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mail.h')
-rw-r--r-- | src/map/mail.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/mail.h b/src/map/mail.h index 7940018b8..9a867daa5 100644 --- a/src/map/mail.h +++ b/src/map/mail.h @@ -16,5 +16,6 @@ bool mail_setattachment(struct map_session_data *sd, struct mail_message *msg); void mail_getattachment(struct map_session_data* sd, int zeny, struct item* item); int mail_openmail(struct map_session_data *sd); void mail_deliveryfail(struct map_session_data *sd, struct mail_message *msg); +bool mail_invalid_operation(struct map_session_data *sd); #endif /* _MAIL_H_ */ |