summaryrefslogtreecommitdiff
path: root/src/char/mapif.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-02-22 01:09:54 +0100
committerHaru <haru@dotalux.com>2016-02-24 19:40:31 +0100
commit1a0ad427708a010992321efbcdca90150b9e3f8b (patch)
treec10b29e4ee666bc391949f081add7ad659560b1b /src/char/mapif.h
parent95e6e3e2437dafcaa270a3891821d13a54107c94 (diff)
downloadhercules-1a0ad427708a010992321efbcdca90150b9e3f8b.tar.gz
hercules-1a0ad427708a010992321efbcdca90150b9e3f8b.tar.bz2
hercules-1a0ad427708a010992321efbcdca90150b9e3f8b.tar.xz
hercules-1a0ad427708a010992321efbcdca90150b9e3f8b.zip
Split mapif->mercenary_save() into two functions (save and create)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/char/mapif.h')
-rw-r--r--src/char/mapif.h3
1 files changed, 2 insertions, 1 deletions
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);