diff options
author | shennetsind <ind@henn.et> | 2013-10-07 15:11:14 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-10-07 15:11:14 -0300 |
commit | 95caa2458c92c04c479e0dce18aaeb1e8846c214 (patch) | |
tree | a160aed015cfa234d40697370cbae08050961006 /src/map/party.c | |
parent | 07cbb72a3e89ba0fe1fb4b3bed1cac6568259999 (diff) | |
download | hercules-95caa2458c92c04c479e0dce18aaeb1e8846c214.tar.gz hercules-95caa2458c92c04c479e0dce18aaeb1e8846c214.tar.bz2 hercules-95caa2458c92c04c479e0dce18aaeb1e8846c214.tar.xz hercules-95caa2458c92c04c479e0dce18aaeb1e8846c214.zip |
Follow up c56e3eb701658079f1de09db759f3b09327ec046
Adjusted PARTY_RECRUIT accordingly, special thanks to ossi0110 for bringing it up.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/party.c')
-rw-r--r-- | src/map/party.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/map/party.c b/src/map/party.c index 7db6b8e10..904110452 100644 --- a/src/map/party.c +++ b/src/map/party.c @@ -1121,7 +1121,7 @@ void party_recruit_register(struct map_session_data *sd, short level, const char } else {// already registered - clif->PartyBookingRegisterAck(sd, 2); + clif->PartyRecruitRegisterAck(sd, 2); return; } @@ -1130,8 +1130,8 @@ void party_recruit_register(struct map_session_data *sd, short level, const char pb_ad->p_detail.level = level; safestrncpy(pb_ad->p_detail.notice, notice, PB_NOTICE_LENGTH); - clif->PartyBookingRegisterAck(sd, 0); - clif->PartyBookingInsertNotify(sd, pb_ad); // Notice + clif->PartyRecruitRegisterAck(sd, 0); + clif->PartyRecruitInsertNotify(sd, pb_ad); // Notice #else return; #endif @@ -1187,7 +1187,7 @@ void party_recruit_update(struct map_session_data *sd, const char *notice) { safestrncpy(pb_ad->p_detail.notice, notice, PB_NOTICE_LENGTH); } - clif->PartyBookingUpdateNotify(sd, pb_ad); + clif->PartyRecruitUpdateNotify(sd, pb_ad); #else return; #endif @@ -1241,7 +1241,7 @@ void party_recruit_search(struct map_session_data *sd, short level, short mapid, } } dbi_destroy(iter); - clif->PartyBookingSearchAck(sd->fd, result_list, count, more_result); + clif->PartyRecruitSearchAck(sd->fd, result_list, count, more_result); #else return; #endif @@ -1293,7 +1293,11 @@ bool party_booking_delete(struct map_session_data *sd) if((pb_ad = (struct party_booking_ad_info*)idb_get(party->booking_db, sd->status.char_id))!=NULL) { +#ifdef PARTY_RECRUIT + clif->PartyRecruitDeleteNotify(sd, pb_ad->index); +#else clif->PartyBookingDeleteNotify(sd, pb_ad->index); +#endif idb_remove(party->booking_db,sd->status.char_id); } return true; |