diff --git a/src/map/searchstore.cpp b/src/map/searchstore.cpp index d0e43cfc46..927f94b4b0 100644 --- a/src/map/searchstore.cpp +++ b/src/map/searchstore.cpp @@ -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;