diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-15 19:44:22 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-15 19:44:22 +0000 |
commit | 7b19af9f7c8ea99216f1a7f5c92a8122010b0631 (patch) | |
tree | 9db73bc3461b78773c5af99bb986c1eb02b2c756 /src/char/inter.c | |
parent | 8a215272209c0d486fa6eb400825bec43287b9b6 (diff) | |
download | hercules-7b19af9f7c8ea99216f1a7f5c92a8122010b0631.tar.gz hercules-7b19af9f7c8ea99216f1a7f5c92a8122010b0631.tar.bz2 hercules-7b19af9f7c8ea99216f1a7f5c92a8122010b0631.tar.xz hercules-7b19af9f7c8ea99216f1a7f5c92a8122010b0631.zip |
- Some cleanup of int_homun.c
- Added homun saving/loading support to char-TXT. Note that this is completely untested, so it may be as good as broken.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8299 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char/inter.c')
-rw-r--r-- | src/char/inter.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/char/inter.c b/src/char/inter.c index 414250ae6..db12cf3e7 100644 --- a/src/char/inter.c +++ b/src/char/inter.c @@ -19,6 +19,7 @@ #include "int_status.h"
#include "int_storage.h"
#include "int_pet.h"
+#include "int_homun.h"
#define WISDATA_TTL (60*1000) // Existence time of Wisp/page data (60 seconds)
// that is the waiting time of answers of all map-servers
@@ -199,6 +200,8 @@ int inter_config_read(const char *cfgName) { strncpy(guild_txt, w2, sizeof(guild_txt));
} else if (strcmpi(w1, "pet_txt") == 0) {
strncpy(pet_txt, w2, sizeof(pet_txt));
+ } else if (strcmpi(w1, "homun_txt") == 0) {
+ strncpy(homun_txt, w2, sizeof(homun_txt));
} else if (strcmpi(w1, "castle_txt") == 0) {
strncpy(castle_txt, w2, sizeof(castle_txt));
} else if (strcmpi(w1, "accreg_txt") == 0) {
@@ -263,6 +266,7 @@ int inter_init(const char *file) { inter_guild_init();
inter_storage_init();
inter_pet_init();
+ inter_homun_init();
inter_accreg_init();
return 0;
@@ -277,6 +281,7 @@ void inter_final(void) { inter_guild_final();
inter_storage_final();
inter_pet_final();
+ inter_homun_final();
return;
}
|