diff options
author | Haruna <haru@dotalux.com> | 2014-11-10 21:09:46 +0100 |
---|---|---|
committer | Haruna <haru@dotalux.com> | 2014-11-10 21:09:46 +0100 |
commit | 82ca427389450aabec616a55b1a5ed519bd44d8e (patch) | |
tree | 6c004ef9edd56f6ac039df26342810ac21de3bdb /src/map/buyingstore.c | |
parent | c1e1099c701de325a076172bcadf544e5b3000c9 (diff) | |
parent | cfd535c7f5b442ae3d96a192a2dbe8650cae99af (diff) | |
download | hercules-82ca427389450aabec616a55b1a5ed519bd44d8e.tar.gz hercules-82ca427389450aabec616a55b1a5ed519bd44d8e.tar.bz2 hercules-82ca427389450aabec616a55b1a5ed519bd44d8e.tar.xz hercules-82ca427389450aabec616a55b1a5ed519bd44d8e.zip |
Merge pull request #386 from 4144/fixplugins
Fix interfaces methods usage.
Diffstat (limited to 'src/map/buyingstore.c')
-rw-r--r-- | src/map/buyingstore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/buyingstore.c b/src/map/buyingstore.c index 626d102a3..84b917cfc 100644 --- a/src/map/buyingstore.c +++ b/src/map/buyingstore.c @@ -169,7 +169,7 @@ void buyingstore_create(struct map_session_data* sd, int zenylimit, unsigned cha // success sd->state.buyingstore = true; - sd->buyer_id = buyingstore_getuid(); + sd->buyer_id = buyingstore->getuid(); sd->buyingstore.zenylimit = zenylimit; sd->buyingstore.slots = i; // store actual amount of items safestrncpy(sd->message, storename, sizeof(sd->message)); @@ -384,7 +384,7 @@ void buyingstore_trade(struct map_session_data* sd, int account_id, unsigned int } // cannot continue buying - buyingstore_close(pl_sd); + buyingstore->close(pl_sd); // remove auto-trader if( pl_sd->state.autotrade ) { |