summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r--src/common/mmo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 0d3ef44a6..845b73a7b 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -256,11 +256,11 @@ struct mmo_charstatus {
bool show_equip;
};
-enum mail_status {
+typedef enum mail_status {
MAIL_NEW,
MAIL_UNREAD,
MAIL_READ,
-};
+} mail_status;
struct mail_message {
unsigned int id;
@@ -271,7 +271,7 @@ struct mail_message {
char title[MAIL_TITLE_LENGTH];
char body[MAIL_BODY_LENGTH];
- enum mail_status status;
+ mail_status status;
unsigned int timestamp; // marks when the message was sent
int zeny;