summaryrefslogtreecommitdiff
path: root/src/char/int_party.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-09 20:44:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-15 11:47:30 +0300
commitad15c7c14facc019c700760e3fae09cd91b1fb21 (patch)
treea2b0ac386612b6054ab3e6f17f04f01f638f0dfc /src/char/int_party.h
parent0733638ef2e2972029f8363921c12891ec138a09 (diff)
downloadhercules-ad15c7c14facc019c700760e3fae09cd91b1fb21.tar.gz
hercules-ad15c7c14facc019c700760e3fae09cd91b1fb21.tar.bz2
hercules-ad15c7c14facc019c700760e3fae09cd91b1fb21.tar.xz
hercules-ad15c7c14facc019c700760e3fae09cd91b1fb21.zip
Move global variable into interface in int_party.c
Diffstat (limited to 'src/char/int_party.h')
-rw-r--r--src/char/int_party.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/char/int_party.h b/src/char/int_party.h
index d85c1c3ea..94ca82c82 100644
--- a/src/char/int_party.h
+++ b/src/char/int_party.h
@@ -26,6 +26,8 @@ struct party_data {
void inter_party_defaults(void);
struct inter_party_interface {
+ struct party_data *pt;
+ DBMap* db; // int party_id -> struct party_data*
int (*check_lv) (struct party_data *p);
void (*calc_state) (struct party_data *p);
int (*tosql) (struct party *p, int flag, int index);