summaryrefslogtreecommitdiff
path: root/src/char/mapif.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-02-22 01:03:59 +0100
committerHaru <haru@dotalux.com>2016-02-24 19:40:31 +0100
commit95e6e3e2437dafcaa270a3891821d13a54107c94 (patch)
treed4a098feab7e3e1d495b124b88cc7a9c30b4a49d /src/char/mapif.h
parentd736b2ef87d2b331f2e8fca9c42784d481778a94 (diff)
downloadhercules-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.h3
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);