diff options
author | Haru <haru@dotalux.com> | 2016-07-25 20:53:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-25 20:53:35 +0200 |
commit | bc46ac94eba15b4f5159a7fa330c93907dad7d68 (patch) | |
tree | a4a824762dcea51b82e2816eff89f7db7b060656 /src/map/party.c | |
parent | fee640a7170ec62b55c2eb1f13477326d9fe6428 (diff) | |
parent | 03ce9e5a69b54535ea70b3776004dd7ade7e6134 (diff) | |
download | hercules-bc46ac94eba15b4f5159a7fa330c93907dad7d68.tar.gz hercules-bc46ac94eba15b4f5159a7fa330c93907dad7d68.tar.bz2 hercules-bc46ac94eba15b4f5159a7fa330c93907dad7d68.tar.xz hercules-bc46ac94eba15b4f5159a7fa330c93907dad7d68.zip |
Merge pull request #1380 from EPuncker/messagesconf-update
Added a missing entry into messages.conf and added some comments wher…
Diffstat (limited to 'src/map/party.c')
-rw-r--r-- | src/map/party.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/map/party.c b/src/map/party.c index d0d466083..c471cceb9 100644 --- a/src/map/party.c +++ b/src/map/party.c @@ -362,7 +362,7 @@ int party_invite(struct map_session_data *sd,struct map_session_data *tsd) ARR_FIND(0, MAX_PARTY, i, p->data[i].sd == sd); if( i == MAX_PARTY || !p->party.member[i].leader ) { - clif->message(sd->fd, msg_sd(sd,282)); + clif->message(sd->fd, msg_sd(sd,282)); // You need to be a party leader to use this command. return 0; } @@ -682,12 +682,12 @@ bool party_changeleader(struct map_session_data *sd, struct map_session_data *ts return false; if (!tsd || tsd->status.party_id != sd->status.party_id) { - clif->message(sd->fd, msg_sd(sd,283)); + clif->message(sd->fd, msg_sd(sd,283)); // Target character must be online and in your current party. return false; } if( map->list[sd->bl.m].flag.partylock ) { - clif->message(sd->fd, msg_sd(sd,287)); + clif->message(sd->fd, msg_sd(sd,287)); // You cannot change party leaders in this map. return false; } @@ -699,8 +699,7 @@ bool party_changeleader(struct map_session_data *sd, struct map_session_data *ts return false; //Shouldn't happen if (!p->party.member[mi].leader) { - //Need to be a party leader. - clif->message(sd->fd, msg_sd(sd,282)); + clif->message(sd->fd, msg_sd(sd,282)); // You need to be a party leader to use this command. return false; } |