From 031cdbe5b3f108d7a732c230d061c567de723a75 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 13 May 2018 04:50:16 +0300 Subject: Add autogenerated messages list headers with original strings and translation. Also add packet version checks for used messages. --- src/map/party.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/map/party.c') 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; } -- cgit v1.2.3-60-g2f50