diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-26 10:37:45 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-26 10:37:45 +0000 |
commit | 49e9510c432987393d10ec1b8b1c2d416c9feb42 (patch) | |
tree | 4d930ebf1094ad5972cb8ba20b89d12ce74d4f3c /src/common/mmo.h | |
parent | fda87bd7ef5a71f4f5d5e604de1b15c58763efdd (diff) | |
download | hercules-49e9510c432987393d10ec1b8b1c2d416c9feb42.tar.gz hercules-49e9510c432987393d10ec1b8b1c2d416c9feb42.tar.bz2 hercules-49e9510c432987393d10ec1b8b1c2d416c9feb42.tar.xz hercules-49e9510c432987393d10ec1b8b1c2d416c9feb42.zip |
Adjusted eAthena code to compile cleanly in C++ mode.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12436 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r-- | src/common/mmo.h | 6 |
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; |