diff options
author | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-02 16:37:02 +0000 |
---|---|---|
committer | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-02 16:37:02 +0000 |
commit | b8ce70fc84fb61ea7474cadbed6746b5fc1ad2e2 (patch) | |
tree | 152c65c2ae1c76a45657556da867c4a6e0046609 /src/common/mmo.h | |
parent | 2898a10e8ec1df9afaa27ff1d0cb685fcb964720 (diff) | |
download | hercules-b8ce70fc84fb61ea7474cadbed6746b5fc1ad2e2.tar.gz hercules-b8ce70fc84fb61ea7474cadbed6746b5fc1ad2e2.tar.bz2 hercules-b8ce70fc84fb61ea7474cadbed6746b5fc1ad2e2.tar.xz hercules-b8ce70fc84fb61ea7474cadbed6746b5fc1ad2e2.zip |
Code cleanup & optimization on guild part of char-server
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8059 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r-- | src/common/mmo.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h index bf33a6d09..513100895 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -66,7 +66,7 @@ #define MAX_PARTY 12
#define MAX_GUILD 16+10*6 // increased max guild members +6 per 1 extension levels [Lupus]
#define MAX_GUILDPOSITION 20 // increased max guild positions to accomodate for all members [Valaris] (removed) [PoW]
-#define MAX_GUILDEXPLUSION 32
+#define MAX_GUILDEXPULSION 32
#define MAX_GUILDALLIANCE 16
#define MAX_GUILDSKILL 15 // increased max guild skills because of new skills [Sara-chan]
#define MAX_GUILDCASTLE 24 // increased to include novice castles [Valaris]
@@ -297,12 +297,14 @@ struct guild_member { int rsv1,rsv2;
char name[NAME_LENGTH];
struct map_session_data *sd;
+ unsigned char modified;
};
struct guild_position {
char name[NAME_LENGTH];
int mode;
int exp_mode;
+ unsigned char modified;
};
struct guild_alliance {
@@ -311,7 +313,7 @@ struct guild_alliance { char name[NAME_LENGTH];
};
-struct guild_explusion {
+struct guild_expulsion {
char name[NAME_LENGTH];
char mes[40];
char acc[40];
@@ -339,10 +341,10 @@ struct guild { int emblem_len,emblem_id;
char emblem_data[2048];
struct guild_alliance alliance[MAX_GUILDALLIANCE];
- struct guild_explusion explusion[MAX_GUILDEXPLUSION];
+ struct guild_expulsion expulsion[MAX_GUILDEXPULSION];
struct guild_skill skill[MAX_GUILDSKILL];
#ifndef TXT_ONLY
- unsigned char save_flag;
+ unsigned short save_flag;
#endif
};
|