diff options
Diffstat (limited to 'src/map/party.c')
-rw-r--r-- | src/map/party.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/party.c b/src/map/party.c index cb83a36bb..407221cde 100644 --- a/src/map/party.c +++ b/src/map/party.c @@ -1147,7 +1147,10 @@ void party_booking_search(struct map_session_data *sd, short level, short mapid, if (pb_ad->p_detail.mapid == mapid) result_list[count] = pb_ad; } - count++; + if( result_list[count] ) + { + count++; + } } iter->destroy(iter); clif_PartyBookingSearchAck(sd->fd, result_list, count, more_result); |