From 90a3c76481654f00e1d6da14ee73997bea8ee31a Mon Sep 17 00:00:00 2001 From: zephyrus Date: Tue, 23 Oct 2007 00:31:37 +0000 Subject: * 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 --- src/common/mmo.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/common/mmo.h') 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; }; -- cgit v1.2.3-70-g09d2