Follow up searchstore fix (#6051)
Always start at the first index every new page of a search store result
This commit is contained in:
parent
cd4d4af0bd
commit
6a12857583
@ -18882,8 +18882,8 @@ void clif_search_store_info_ack( struct map_session_data* sd ){
|
||||
p->nextPage = searchstore_querynext( sd );
|
||||
p->usesCount = (uint8)umin( sd->searchstore.uses, UINT8_MAX );
|
||||
|
||||
for( int i = start; i < end; i++ ) {
|
||||
struct s_search_store_info_item* ssitem = &sd->searchstore.items[i];
|
||||
for( int i = 0; i < end - start; i++ ) {
|
||||
struct s_search_store_info_item* ssitem = &sd->searchstore.items[start + i];
|
||||
|
||||
p->items[i].storeId = ssitem->store_id;
|
||||
p->items[i].AID = ssitem->account_id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user