diff options
author | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-05-31 11:43:19 +0000 |
---|---|---|
committer | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-05-31 11:43:19 +0000 |
commit | ce5da5fcc9ed2ce984eaf2aa1a9e0cfaba460bdb (patch) | |
tree | 207a8645c4536394c32e2d7a0bc5b37d1ee8a86d /src | |
parent | 0e7c825226666434ec32a8b3af04e19e1d9b0019 (diff) | |
download | hercules-ce5da5fcc9ed2ce984eaf2aa1a9e0cfaba460bdb.tar.gz hercules-ce5da5fcc9ed2ce984eaf2aa1a9e0cfaba460bdb.tar.bz2 hercules-ce5da5fcc9ed2ce984eaf2aa1a9e0cfaba460bdb.tar.xz hercules-ce5da5fcc9ed2ce984eaf2aa1a9e0cfaba460bdb.zip |
Fixed a typo in buyingstore_create.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14842 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/buyingstore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/buyingstore.c b/src/map/buyingstore.c index 5b9734819..94f390c10 100644 --- a/src/map/buyingstore.c +++ b/src/map/buyingstore.c @@ -145,7 +145,7 @@ void buyingstore_create(struct map_session_data* sd, int zenylimit, unsigned cha if( i ) {// duplicate check. as the client does this too, only malicious intent should be caught here - ARR_FIND( 0, i, listidx, sd->buyingstore.items[i].nameid == nameid ); + ARR_FIND( 0, i, listidx, sd->buyingstore.items[listidx].nameid == nameid ); if( listidx != i ) {// duplicate ShowWarning("buyingstore_create: Found duplicate item on buying list (nameid=%hu, amount=%hu, account_id=%d, char_id=%d).\n", nameid, amount, sd->status.account_id, sd->status.char_id); |