summaryrefslogtreecommitdiff
path: root/src/char/mapif.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-02-22 00:52:53 +0100
committerHaru <haru@dotalux.com>2016-02-24 19:40:31 +0100
commitd736b2ef87d2b331f2e8fca9c42784d481778a94 (patch)
treee48c39d618a923483418595cf2bd77df660da749 /src/char/mapif.h
parenta9326b175d42b9f6448d97b52108be907194854c (diff)
downloadhercules-d736b2ef87d2b331f2e8fca9c42784d481778a94.tar.gz
hercules-d736b2ef87d2b331f2e8fca9c42784d481778a94.tar.bz2
hercules-d736b2ef87d2b331f2e8fca9c42784d481778a94.tar.xz
hercules-d736b2ef87d2b331f2e8fca9c42784d481778a94.zip
Split mapif->elemental_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 eb5d30b2c..e5767bf05 100644
--- a/src/char/mapif.h
+++ b/src/char/mapif.h
@@ -51,7 +51,8 @@ struct mapif_interface {
void (*parse_auction_close) (int fd);
void (*auction_bid) (int fd, int char_id, int bid, unsigned char result);
void (*parse_auction_bid) (int fd);
- bool (*elemental_save) (struct s_elemental* ele);
+ bool (*elemental_create) (struct s_elemental *ele);
+ bool (*elemental_save) (const struct s_elemental *ele);
bool (*elemental_load) (int ele_id, int char_id, struct s_elemental *ele);
bool (*elemental_delete) (int ele_id);
void (*elemental_send) (int fd, struct s_elemental *ele, unsigned char flag);