diff options
author | Haru <haru@dotalux.com> | 2016-02-22 01:03:59 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-02-24 19:40:31 +0100 |
commit | 95e6e3e2437dafcaa270a3891821d13a54107c94 (patch) | |
tree | d4a098feab7e3e1d495b124b88cc7a9c30b4a49d /src/char/mapif.h | |
parent | d736b2ef87d2b331f2e8fca9c42784d481778a94 (diff) | |
download | hercules-95e6e3e2437dafcaa270a3891821d13a54107c94.tar.gz hercules-95e6e3e2437dafcaa270a3891821d13a54107c94.tar.bz2 hercules-95e6e3e2437dafcaa270a3891821d13a54107c94.tar.xz hercules-95e6e3e2437dafcaa270a3891821d13a54107c94.zip |
Split mapif->homunculus_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 e5767bf05..05bddabb4 100644 --- a/src/char/mapif.h +++ b/src/char/mapif.h @@ -102,7 +102,8 @@ struct mapif_interface { void (*homunculus_loaded) (int fd, int account_id, struct s_homunculus *hd); void (*homunculus_saved) (int fd, int account_id, bool flag); void (*homunculus_renamed) (int fd, int account_id, int char_id, unsigned char flag, char* name); - bool (*homunculus_save) (struct s_homunculus* hd); + bool (*homunculus_create) (struct s_homunculus *hd); + bool (*homunculus_save) (const struct s_homunculus *hd); bool (*homunculus_load) (int homun_id, struct s_homunculus* hd); bool (*homunculus_delete) (int homun_id); bool (*homunculus_rename) (char *name); |