diff options
Diffstat (limited to 'src/map/party.c')
-rw-r--r-- | src/map/party.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/party.c b/src/map/party.c index a82ff427f..8b471e709 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) { +#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; } |