diff options
Diffstat (limited to 'src/map/party.c')
-rw-r--r-- | src/map/party.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/map/party.c b/src/map/party.c index a4a7e6dca..b48a00590 100644 --- a/src/map/party.c +++ b/src/map/party.c @@ -2,7 +2,7 @@ * This file is part of Hercules. * http://herc.ws - http://github.com/HerculesWS/Hercules * - * Copyright (C) 2012-2016 Hercules Dev Team + * Copyright (C) 2012-2018 Hercules Dev Team * Copyright (C) Athena Dev Teams * * Hercules is free software: you can redistribute it and/or modify @@ -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; } |