diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-09 15:26:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-10 22:44:01 +0300 |
commit | cfd535c7f5b442ae3d96a192a2dbe8650cae99af (patch) | |
tree | 158feeb6ecbfcffdc766ec8ac1b2917383c744d3 /src/map/buyingstore.c | |
parent | 3742a813233edca6a59cc027209b8cd6bfd6b70b (diff) | |
download | hercules-cfd535c7f5b442ae3d96a192a2dbe8650cae99af.tar.gz hercules-cfd535c7f5b442ae3d96a192a2dbe8650cae99af.tar.bz2 hercules-cfd535c7f5b442ae3d96a192a2dbe8650cae99af.tar.xz hercules-cfd535c7f5b442ae3d96a192a2dbe8650cae99af.zip |
Fix interfaces methods usage.
In some places was used direct methods.
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 ) { |