From 8338483dd4c41bc9831bebc9d6dc1808247fc497 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 7 Nov 2014 17:38:31 +0300 Subject: Add most functions from char.c to interfaces. Introduced interfaces: chr, mapif, loginif. --- src/char/int_auction.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/char/int_auction.c') 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) { -- cgit v1.2.3-70-g09d2