summaryrefslogtreecommitdiff
path: root/src/char/int_pet.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/int_pet.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/int_pet.h')
-rw-r--r--src/char/int_pet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/int_pet.h b/src/char/int_pet.h
index 07a273eac..3eb19d656 100644
--- a/src/char/int_pet.h
+++ b/src/char/int_pet.h
@@ -30,7 +30,7 @@ struct s_pet;
**/
struct inter_pet_interface {
struct s_pet *pt;
- int (*tosql) (int pet_id, struct s_pet* p);
+ int (*tosql) (const struct s_pet *p);
int (*fromsql) (int pet_id, struct s_pet* p);
int (*sql_init) (void);
void (*sql_final) (void);