diff options
author | Haru <haru@dotalux.com> | 2016-01-29 11:45:57 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-01-29 11:45:57 +0100 |
commit | 1500f9a168d61f36e8b1167e964e73a4e764f974 (patch) | |
tree | 0cd3c03ec5decc0ae6e73dc775ae0cd31903d913 /src/map/guild.c | |
parent | 006e9b2d3e7d5ad3d89fae731d08aedcf73d2dbb (diff) | |
parent | 89bc83eb10741057574c9843350711d52b31685a (diff) | |
download | hercules-1500f9a168d61f36e8b1167e964e73a4e764f974.tar.gz hercules-1500f9a168d61f36e8b1167e964e73a4e764f974.tar.bz2 hercules-1500f9a168d61f36e8b1167e964e73a4e764f974.tar.xz hercules-1500f9a168d61f36e8b1167e964e73a4e764f974.zip |
Merge pull request #1100 from theultramage/gperm
more meaningful names for fields of enum guild_permission
Diffstat (limited to 'src/map/guild.c')
-rw-r--r-- | src/map/guild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/guild.c b/src/map/guild.c index cba05638f..f4f0c0528 100644 --- a/src/map/guild.c +++ b/src/map/guild.c @@ -1117,7 +1117,7 @@ int guild_change_position(int guild_id,int idx,int mode,int exp_mode,const char nullpo_ret(name); exp_mode = cap_value(exp_mode, 0, battle_config.guild_exp_limit); - p.mode=mode&GPERM_BOTH; // Invite and Expel + p.mode=mode&GPERM_MASK; p.exp_mode=exp_mode; safestrncpy(p.name,name,NAME_LENGTH); return intif->guild_position(guild_id,idx,&p); |