diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-07 17:38:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-15 11:47:29 +0300 |
commit | 8338483dd4c41bc9831bebc9d6dc1808247fc497 (patch) | |
tree | 62af0b36fdd3552eda22e3197f1d3e0e7fb30fc1 /src/char/int_auction.c | |
parent | 9658066ce2f411375b9876d0c02737752b816e58 (diff) | |
download | hercules-8338483dd4c41bc9831bebc9d6dc1808247fc497.tar.gz hercules-8338483dd4c41bc9831bebc9d6dc1808247fc497.tar.bz2 hercules-8338483dd4c41bc9831bebc9d6dc1808247fc497.tar.xz hercules-8338483dd4c41bc9831bebc9d6dc1808247fc497.zip |
Add most functions from char.c to interfaces.
Introduced interfaces: chr, mapif, loginif.
Diffstat (limited to 'src/char/int_auction.c')
-rw-r--r-- | src/char/int_auction.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/char/int_auction.c b/src/char/int_auction.c index 7a5a8b2fb..cab986101 100644 --- a/src/char/int_auction.c +++ b/src/char/int_auction.c @@ -13,6 +13,7 @@ #include "char.h" #include "int_mail.h" #include "inter.h" +#include "mapif.h" #include "../common/db.h" #include "../common/malloc.h" #include "../common/mmo.h" @@ -135,7 +136,7 @@ static void mapif_Auction_message(int char_id, unsigned char result) WBUFW(buf,0) = 0x3854; WBUFL(buf,2) = char_id; WBUFL(buf,6) = result; - mapif_sendall(buf,7); + mapif->sendall(buf,7); } static int inter_auction_end_timer(int tid, int64 tick, int id, intptr_t data) { |