summaryrefslogtreecommitdiff
path: root/src/char/int_pet.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-09 20:49:54 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-15 11:47:30 +0300
commit63075b84ecf52e329ee524e1e90878469c388f9d (patch)
treea5da64ad2f1e83cfc4482629cb611be1226bce1b /src/char/int_pet.h
parentad15c7c14facc019c700760e3fae09cd91b1fb21 (diff)
downloadhercules-63075b84ecf52e329ee524e1e90878469c388f9d.tar.gz
hercules-63075b84ecf52e329ee524e1e90878469c388f9d.tar.bz2
hercules-63075b84ecf52e329ee524e1e90878469c388f9d.tar.xz
hercules-63075b84ecf52e329ee524e1e90878469c388f9d.zip
Move global variable into interface in int_pet.c
Diffstat (limited to 'src/char/int_pet.h')
-rw-r--r--src/char/int_pet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/char/int_pet.h b/src/char/int_pet.h
index 44f3eb389..8b3c1f7b4 100644
--- a/src/char/int_pet.h
+++ b/src/char/int_pet.h
@@ -9,6 +9,7 @@ struct s_pet;
void inter_pet_defaults(void);
struct inter_pet_interface {
+ struct s_pet *pt;
int (*tosql) (int pet_id, struct s_pet* p);
int (*fromsql) (int pet_id, struct s_pet* p);
int (*sql_init) (void);