summaryrefslogtreecommitdiff
path: root/src/char/mapif.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-02-22 01:26:28 +0100
committerHaru <haru@dotalux.com>2016-02-24 19:40:31 +0100
commit7fd9e649fbcdef4abe7e9e77c24871e485262ca3 (patch)
tree96d43be82efd4067dd1786899d08e49599891e75 /src/char/mapif.h
parent1a0ad427708a010992321efbcdca90150b9e3f8b (diff)
downloadhercules-7fd9e649fbcdef4abe7e9e77c24871e485262ca3.tar.gz
hercules-7fd9e649fbcdef4abe7e9e77c24871e485262ca3.tar.bz2
hercules-7fd9e649fbcdef4abe7e9e77c24871e485262ca3.tar.xz
hercules-7fd9e649fbcdef4abe7e9e77c24871e485262ca3.zip
Updated inter_pet->tosql() and mapif->save_pet() to work with const data
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/char/mapif.h')
-rw-r--r--src/char/mapif.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/mapif.h b/src/char/mapif.h
index d4fbcb945..6b8afd4b2 100644
--- a/src/char/mapif.h
+++ b/src/char/mapif.h
@@ -162,7 +162,7 @@ struct mapif_interface {
int (*create_pet) (int fd, int account_id, int char_id, short pet_class, short pet_lv, short pet_egg_id,
short pet_equip, short intimate, short hungry, char rename_flag, char incubate, char *pet_name);
int (*load_pet) (int fd, int account_id, int char_id, int pet_id);
- int (*save_pet) (int fd, int account_id, struct s_pet *data);
+ int (*save_pet) (int fd, int account_id, const struct s_pet *data);
int (*delete_pet) (int fd, int pet_id);
int (*parse_CreatePet) (int fd);
int (*parse_LoadPet) (int fd);