Fix hasnext page in search stores (#6030)
Thanks to Insomnia#4862 on discord!
This commit is contained in:
parent
2110a6ead8
commit
cd4d4af0bd
@ -249,7 +249,7 @@ void searchstore_query(struct map_session_data* sd, unsigned char type, unsigned
|
||||
*/
|
||||
bool searchstore_querynext(struct map_session_data* sd)
|
||||
{
|
||||
if( sd->searchstore.count && ( sd->searchstore.count-1 )/SEARCHSTORE_RESULTS_PER_PAGE < sd->searchstore.pages )
|
||||
if( sd->searchstore.count && ( sd->searchstore.count-1 )/SEARCHSTORE_RESULTS_PER_PAGE > sd->searchstore.pages )
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user