diff options
Diffstat (limited to 'src/map/party.c')
-rw-r--r-- | src/map/party.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/map/party.c b/src/map/party.c index c93c48955..4e23302db 100644 --- a/src/map/party.c +++ b/src/map/party.c @@ -103,14 +103,15 @@ static TBL_PC* party_sd_check(int party_id, int account_id, int char_id) } /*========================================== - * I—¹ + * Destructor + * Called in map shutdown, cleanup var *------------------------------------------*/ void do_final_party(void) { party_db->destroy(party_db,NULL); party_booking_db->destroy(party_booking_db,NULL); // Party Booking [Spiria] } -// ‰Šú‰» +// Constructor, init vars void do_init_party(void) { party_db = idb_alloc(DB_OPT_RELEASE_DATA); @@ -649,8 +650,8 @@ bool party_changeleader(struct map_session_data *sd, struct map_session_data *ts } if( map[sd->bl.m].flag.partylock ) - { - clif_displaymessage(sd->fd, "You cannot change party leaders on this map."); + { + clif_displaymessage(sd->fd, msg_txt(287)); return false; } |