From 2ad53bc87be9c4c5e071e3d9372f38edd327e892 Mon Sep 17 00:00:00 2001 From: markzd Date: Wed, 12 Dec 2012 00:21:47 +0000 Subject: - Follow up r17004 & bugreport:6995, added safer calculation to strategic points at battle.c&status.c. - Implemented reading of renewal exp_guild.txt. (tid:75398) - Fixed Status Fogwall(Blinding Mist) to be reduced by status/card. (bugreport:4543) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17017 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char/char.h | 1 + src/char/int_guild.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/char') 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; -- cgit v1.2.3-70-g09d2