From 1a0ad427708a010992321efbcdca90150b9e3f8b Mon Sep 17 00:00:00 2001 From: Haru Date: Mon, 22 Feb 2016 01:09:54 +0100 Subject: Split mapif->mercenary_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 05bddabb4..d4fbcb945 100644 --- a/src/char/mapif.h +++ b/src/char/mapif.h @@ -125,7 +125,8 @@ struct mapif_interface { void (*parse_mail_return) (int fd); void (*mail_send) (int fd, struct mail_message* msg); void (*parse_mail_send) (int fd); - bool (*mercenary_save) (struct s_mercenary* merc); + bool (*mercenary_create) (struct s_mercenary *merc); + bool (*mercenary_save) (const struct s_mercenary *merc); bool (*mercenary_load) (int merc_id, int char_id, struct s_mercenary *merc); bool (*mercenary_delete) (int merc_id); void (*mercenary_send) (int fd, struct s_mercenary *merc, unsigned char flag); -- cgit v1.2.3-70-g09d2