From d736b2ef87d2b331f2e8fca9c42784d481778a94 Mon Sep 17 00:00:00 2001 From: Haru Date: Mon, 22 Feb 2016 00:52:53 +0100 Subject: Split mapif->elemental_save() into two functions (save and create) Signed-off-by: Haru --- src/char/mapif.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/char/mapif.h') diff --git a/src/char/mapif.h b/src/char/mapif.h index eb5d30b2c..e5767bf05 100644 --- a/src/char/mapif.h +++ b/src/char/mapif.h @@ -51,7 +51,8 @@ struct mapif_interface { void (*parse_auction_close) (int fd); void (*auction_bid) (int fd, int char_id, int bid, unsigned char result); void (*parse_auction_bid) (int fd); - bool (*elemental_save) (struct s_elemental* ele); + bool (*elemental_create) (struct s_elemental *ele); + bool (*elemental_save) (const struct s_elemental *ele); bool (*elemental_load) (int ele_id, int char_id, struct s_elemental *ele); bool (*elemental_delete) (int ele_id); void (*elemental_send) (int fd, struct s_elemental *ele, unsigned char flag); -- cgit v1.2.3-60-g2f50