summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-23 00:31:37 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-23 00:31:37 +0000
commit90a3c76481654f00e1d6da14ee73997bea8ee31a (patch)
treef8d5d93be815b406fb7684cae1d99180e8c97cd5 /src/common/mmo.h
parent3aaaaa86887209c21dd16875e3e39237e953db2e (diff)
downloadhercules-90a3c76481654f00e1d6da14ee73997bea8ee31a.tar.gz
hercules-90a3c76481654f00e1d6da14ee73997bea8ee31a.tar.bz2
hercules-90a3c76481654f00e1d6da14ee73997bea8ee31a.tar.xz
hercules-90a3c76481654f00e1d6da14ee73997bea8ee31a.zip
* Removed the inter_athena.conf maildb settings as they are not required anymore.
- MailDB is now an integral part of the MainDB. - To Server Admins, use mysql tools to move your mail data to the new structure. - You can get the maildb structure from main.sql. - Renamed some vars (recomendation of Ultramage :D) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11557 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r--src/common/mmo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 5374cf9b4..2389264d9 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -106,7 +106,7 @@
#define HM_CLASS_MAX (HM_CLASS_BASE+MAX_HOMUNCULUS_CLASS-1)
//Mail System
-#define MAX_MAIL_INBOX 30
+#define MAIL_MAX_INBOX 30
#define MAIL_TITLE_LENGTH 40
#define MAIL_BODY_LENGTH 200
@@ -260,9 +260,9 @@ struct mail_message {
struct mail_data {
short amount;
- short changed;
- short satured;
- struct mail_message msg[MAX_MAIL_INBOX];
+ bool changed, full;
+
+ struct mail_message msg[MAIL_MAX_INBOX];
short unchecked, unreaded;
};