summaryrefslogtreecommitdiff
path: root/src/char_sql
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-16 15:33:59 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-16 15:33:59 +0000
commitd042f7cfd71139195cf43534e93df18b009b1070 (patch)
tree32b141651c85b8989808804deb3f087aa51676bc /src/char_sql
parente997d4f135355b1334f31242e9f76fae46a2deec (diff)
downloadhercules-d042f7cfd71139195cf43534e93df18b009b1070.tar.gz
hercules-d042f7cfd71139195cf43534e93df18b009b1070.tar.bz2
hercules-d042f7cfd71139195cf43534e93df18b009b1070.tar.xz
hercules-d042f7cfd71139195cf43534e93df18b009b1070.zip
- Fixed mysql ping setting being in minutes rather than hours.
- Removed npc_event_sub from npc.h and moved it to npc.c - Cleaned up #warp to prevent spitting non-walkable tile warnings. - Changed the meaning of msg_athena 2, it is now "invalid target cell, randomizing". git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6114 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-rw-r--r--src/char_sql/inter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char_sql/inter.c b/src/char_sql/inter.c
index d7e13c7c2..74da7f303 100644
--- a/src/char_sql/inter.c
+++ b/src/char_sql/inter.c
@@ -374,8 +374,8 @@ int inter_init(const char *file)
if (connection_ping_interval) {
add_timer_func_list(inter_sql_ping, "inter_sql_ping");
- add_timer_interval(gettick()+connection_ping_interval*60*1000,
- inter_sql_ping, 0, 0, connection_ping_interval*60*1000);
+ add_timer_interval(gettick()+connection_ping_interval*60*60*1000,
+ inter_sql_ping, 0, 0, connection_ping_interval*60*60*1000);
}
return 0;
}