diff options
author | epuncker <gm.perflex@gmail.com> | 2016-07-22 11:39:10 -0300 |
---|---|---|
committer | epuncker <gm.perflex@gmail.com> | 2016-07-25 11:49:56 -0300 |
commit | 03ce9e5a69b54535ea70b3776004dd7ade7e6134 (patch) | |
tree | 1a8ca3b3fb4a8d006d1b09c3146a110787a79ef8 /src/map/party.c | |
parent | 22bf27402936e8c95cc9c50597353da300fe7d6d (diff) | |
download | hercules-03ce9e5a69b54535ea70b3776004dd7ade7e6134.tar.gz hercules-03ce9e5a69b54535ea70b3776004dd7ade7e6134.tar.bz2 hercules-03ce9e5a69b54535ea70b3776004dd7ade7e6134.tar.xz hercules-03ce9e5a69b54535ea70b3776004dd7ade7e6134.zip |
Added a missing entry into messages.conf and added some comments where missing, ref #1282
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; } |