diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-06-22 03:06:00 +0200 |
---|---|---|
committer | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-06-22 03:06:00 +0200 |
commit | 3dd482367675292233bf034bc8a38b2ab46b0aa3 (patch) | |
tree | 4698347fac8d0cce50697baee43d2912bd6b97e8 /src/map/clif.c | |
parent | 0f8a2df4dd40d522a69260b4d110d0ea2c14ba2a (diff) | |
download | hercules-3dd482367675292233bf034bc8a38b2ab46b0aa3.tar.gz hercules-3dd482367675292233bf034bc8a38b2ab46b0aa3.tar.bz2 hercules-3dd482367675292233bf034bc8a38b2ab46b0aa3.tar.xz hercules-3dd482367675292233bf034bc8a38b2ab46b0aa3.zip |
Extend guild_notice_changemap battle flag with option for login
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index a580d6464..9eba9f4b4 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -11030,9 +11030,9 @@ static void clif_parse_LoadEndAck(int fd, struct map_session_data *sd) if (sd->guild != NULL) { // Show guild notice. - if ((battle_config.guild_notice_changemap == 1 && change_map) - || battle_config.guild_notice_changemap == 2 - || first_time) { + if (((battle_config.guild_notice_changemap & 0x1) != 0 && first_time) + || ((battle_config.guild_notice_changemap & 0x2) != 0 && !first_time && change_map) + || (battle_config.guild_notice_changemap & 0x4) != 0) { clif->guild_notice(sd, sd->guild); } |