- Fixed bug report 1436 (Auction)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12742 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
dd76e620fe
commit
edcd7e6d28
@ -276,11 +276,17 @@ static void mapif_parse_Auction_requestlist(int fd)
|
||||
continue;
|
||||
|
||||
i++;
|
||||
if( i > 5 ) { pages++; i = 0; }
|
||||
if( page != pages ) continue;
|
||||
if( i > 5 )
|
||||
{ // Counting Pages of Total Results (5 Results per Page)
|
||||
pages++;
|
||||
i = 1; // First Result of This Page
|
||||
}
|
||||
|
||||
if( page != pages )
|
||||
continue; // This is not the requested Page
|
||||
|
||||
memcpy(WBUFP(buf, j * len), auction, len);
|
||||
j++;
|
||||
j++; // Found Results
|
||||
}
|
||||
iter->destroy(iter);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user