diff options
author | Haru <haru@dotalux.com> | 2016-02-22 01:26:28 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-02-24 19:40:31 +0100 |
commit | 7fd9e649fbcdef4abe7e9e77c24871e485262ca3 (patch) | |
tree | 96d43be82efd4067dd1786899d08e49599891e75 /src/char/mapif.c | |
parent | 1a0ad427708a010992321efbcdca90150b9e3f8b (diff) | |
download | hercules-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.c')
-rw-r--r-- | src/char/mapif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/mapif.c b/src/char/mapif.c index f25df2369..9e37ff528 100644 --- a/src/char/mapif.c +++ b/src/char/mapif.c @@ -168,7 +168,7 @@ int mapif_delete_pet_ack(int fd, int flag); int mapif_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 mapif_load_pet(int fd, int account_id, int char_id, int pet_id); -int mapif_save_pet(int fd, int account_id, struct s_pet *data); +int mapif_save_pet(int fd, int account_id, const struct s_pet *data); int mapif_delete_pet(int fd, int pet_id); int mapif_parse_CreatePet(int fd); int mapif_parse_LoadPet(int fd); |