summaryrefslogtreecommitdiff
path: root/src/char_sql/inter.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-09-01 00:03:10 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-09-01 00:03:10 +0000
commitbb1a4e56b358c36a7996be8d34b84e7f118f63f5 (patch)
tree7e67cb25e378bfa10fad402e50b75b8ea991775d /src/char_sql/inter.c
parent08c870656aeb76d839a8ad2fd071818b8618f899 (diff)
downloadhercules-bb1a4e56b358c36a7996be8d34b84e7f118f63f5.tar.gz
hercules-bb1a4e56b358c36a7996be8d34b84e7f118f63f5.tar.bz2
hercules-bb1a4e56b358c36a7996be8d34b84e7f118f63f5.tar.xz
hercules-bb1a4e56b358c36a7996be8d34b84e7f118f63f5.zip
- Moved char server's mercenary code to a different file (int_mercenary.*)
- New Sql Patch for create mercenary_owner DB. - Removed mer_id from char_db. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13166 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/inter.c')
-rw-r--r--src/char_sql/inter.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/char_sql/inter.c b/src/char_sql/inter.c
index 372ce400f..636cc286b 100644
--- a/src/char_sql/inter.c
+++ b/src/char_sql/inter.c
@@ -15,6 +15,7 @@
#include "int_storage.h"
#include "int_pet.h"
#include "int_homun.h"
+#include "int_mercenary.h"
#include "int_mail.h"
#include "int_auction.h"
#include "int_quest.h"
@@ -296,7 +297,8 @@ int inter_init_sql(const char *file)
inter_storage_sql_init();
inter_party_sql_init();
inter_pet_sql_init();
- inter_homunculus_sql_init(); // albator
+ inter_homunculus_sql_init();
+ inter_mercenary_sql_init();
inter_accreg_sql_init();
inter_mail_sql_init();
inter_auction_sql_init();
@@ -315,7 +317,8 @@ void inter_final(void)
inter_storage_sql_final();
inter_party_sql_final();
inter_pet_sql_final();
- inter_homunculus_sql_final(); //[orn]
+ inter_homunculus_sql_final();
+ inter_mercenary_sql_final();
inter_mail_sql_final();
inter_auction_sql_final();
@@ -719,6 +722,7 @@ int inter_parse_frommap(int fd)
|| inter_storage_parse_frommap(fd)
|| inter_pet_parse_frommap(fd)
|| inter_homunculus_parse_frommap(fd)
+ || inter_mercenary_parse_frommap(fd)
|| inter_mail_parse_frommap(fd)
|| inter_auction_parse_frommap(fd)
|| inter_quest_parse_frommap(fd)