diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-16 15:33:59 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-16 15:33:59 +0000 |
commit | d042f7cfd71139195cf43534e93df18b009b1070 (patch) | |
tree | 32b141651c85b8989808804deb3f087aa51676bc /src/map/map.c | |
parent | e997d4f135355b1334f31242e9f76fae46a2deec (diff) | |
download | hercules-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/map/map.c')
-rw-r--r-- | src/map/map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/map.c b/src/map/map.c index d749d26bf..94bc6a57c 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -3906,8 +3906,8 @@ int do_init(int argc, char *argv[]) { if (connection_ping_interval) { add_timer_func_list(map_sql_ping, "map_sql_ping"); - add_timer_interval(gettick()+connection_ping_interval*60*1000, - map_sql_ping, 0, 0, connection_ping_interval*60*1000); + add_timer_interval(gettick()+connection_ping_interval*60*60*1000, + map_sql_ping, 0, 0, connection_ping_interval*60*60*1000); } #endif /* not TXT_ONLY */ |