summaryrefslogtreecommitdiff
path: root/src/char/inter.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-07 22:35:30 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-15 11:47:29 +0300
commit8e3ff5af507352d8c0c3f50469917f2b5ba231f9 (patch)
tree7f1865b370341a193fb113904fbb5ceb059a5645 /src/char/inter.c
parent67e60992dbe7dc855d89a9443249ad82f6268f2f (diff)
downloadhercules-8e3ff5af507352d8c0c3f50469917f2b5ba231f9.tar.gz
hercules-8e3ff5af507352d8c0c3f50469917f2b5ba231f9.tar.bz2
hercules-8e3ff5af507352d8c0c3f50469917f2b5ba231f9.tar.xz
hercules-8e3ff5af507352d8c0c3f50469917f2b5ba231f9.zip
Add most functions from int_guild.c to interfaces.
Diffstat (limited to 'src/char/inter.c')
-rw-r--r--src/char/inter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/char/inter.c b/src/char/inter.c
index 13fdd8830..97b7e3760 100644
--- a/src/char/inter.c
+++ b/src/char/inter.c
@@ -1026,7 +1026,7 @@ int inter_init_sql(const char *file)
}
wis_db = idb_alloc(DB_OPT_RELEASE_DATA);
- inter_guild_sql_init();
+ inter_guild->sql_init();
inter_storage_sql_init();
inter_party_sql_init();
inter_pet_sql_init();
@@ -1046,7 +1046,7 @@ void inter_final(void)
{
wis_db->destroy(wis_db, NULL);
- inter_guild_sql_final();
+ inter_guild->sql_final();
inter_storage_sql_final();
inter_party_sql_final();
inter_pet_sql_final();
@@ -1454,7 +1454,7 @@ int inter_parse_frommap(int fd)
/* 0x3008 is used by the report stuff */
default:
if( inter_party_parse_frommap(fd)
- || inter_guild_parse_frommap(fd)
+ || inter_guild->parse_frommap(fd)
|| inter_storage_parse_frommap(fd)
|| inter_pet_parse_frommap(fd)
|| inter_homunculus_parse_frommap(fd)