diff options
author | Haru <haru@dotalux.com> | 2016-02-22 01:09:54 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-02-24 19:40:31 +0100 |
commit | 1a0ad427708a010992321efbcdca90150b9e3f8b (patch) | |
tree | c10b29e4ee666bc391949f081add7ad659560b1b /src/char/mapif.h | |
parent | 95e6e3e2437dafcaa270a3891821d13a54107c94 (diff) | |
download | hercules-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.h | 3 |
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); |