diff options
Diffstat (limited to 'src/char')
-rw-r--r-- | src/char/char.h | 1 | ||||
-rw-r--r-- | src/char/int_guild.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/char/char.h b/src/char/char.h index dd1c80f9d..e16350cb3 100644 --- a/src/char/char.h +++ b/src/char/char.h @@ -4,6 +4,7 @@ #ifndef _CHAR_SQL_H_ #define _CHAR_SQL_H_ +#include "../config/core.h" #include "../common/core.h" // CORE_ST_LAST enum E_CHARSERVER_ST diff --git a/src/char/int_guild.c b/src/char/int_guild.c index c66f43613..661d57c1f 100644 --- a/src/char/int_guild.c +++ b/src/char/int_guild.c @@ -726,8 +726,8 @@ int inter_guild_sql_init(void) castle_db = idb_alloc(DB_OPT_RELEASE_DATA); //Read exp file - sv_readdb("db/pre-re", "exp_guild.txt", ',', 1, 1, 100, exp_guild_parse_row); - + sv_readdb("db/"DBPATH, "exp_guild.txt", ',', 1, 1, 100, exp_guild_parse_row); + add_timer_func_list(guild_save_timer, "guild_save_timer"); add_timer(gettick() + 10000, guild_save_timer, 0, 0); return 0; |