diff options
author | Haru <haru@dotalux.com> | 2018-06-02 16:07:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-02 16:07:12 +0200 |
commit | 889141992544b20747fdd337cf0ebf4c36ef01b9 (patch) | |
tree | 0bbab7379dd7710d325db6261ca0911a9042a500 /src/map/party.c | |
parent | 9370c15bc97eeabb9b0c98898520b2daca22bcf5 (diff) | |
parent | 031cdbe5b3f108d7a732c230d061c567de723a75 (diff) | |
download | hercules-889141992544b20747fdd337cf0ebf4c36ef01b9.tar.gz hercules-889141992544b20747fdd337cf0ebf4c36ef01b9.tar.bz2 hercules-889141992544b20747fdd337cf0ebf4c36ef01b9.tar.xz hercules-889141992544b20747fdd337cf0ebf4c36ef01b9.zip |
Merge pull request #2038 from 4144/msi
Improve msgstring table usage
Diffstat (limited to 'src/map/party.c')
-rw-r--r-- | src/map/party.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/party.c b/src/map/party.c index b75fc7c41..b48a00590 100644 --- a/src/map/party.c +++ b/src/map/party.c @@ -31,6 +31,7 @@ #include "map/itemdb.h" #include "map/log.h" #include "map/map.h" +#include "map/messages.h" #include "map/mob.h" // struct mob_data #include "map/pc.h" #include "map/skill.h" @@ -732,7 +733,9 @@ bool party_changeleader(struct map_session_data *sd, struct map_session_data *ts } if (battle_config.party_change_leader_same_map && sd->bl.m != tsd->bl.m) { - clif->msgtable(sd, MSG_PARTY_LEADER_SAMEMAP); // It is only possible to change the party leader while on the same map. +#if PACKETVER >= 20120307 + clif->msgtable(sd, MSG_PARTY_MASTER_CHANGE_SAME_MAP); // It is only possible to change the party leader while on the same map. +#endif return false; } |