summaryrefslogtreecommitdiff
path: root/src/map/party.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-27 23:52:18 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-27 23:52:18 +0000
commite929a6637d97216fa3b9066765a1d4da04707b6a (patch)
tree7b3aebd89c21f10c51f952351dc71562f08aef4e /src/map/party.c
parent4adb9de072ca4dfe82b735325635f1433bf24ce0 (diff)
downloadhercules-e929a6637d97216fa3b9066765a1d4da04707b6a.tar.gz
hercules-e929a6637d97216fa3b9066765a1d4da04707b6a.tar.bz2
hercules-e929a6637d97216fa3b9066765a1d4da04707b6a.tar.xz
hercules-e929a6637d97216fa3b9066765a1d4da04707b6a.zip
- Added config setting party_update_interval so you can specify how often the party-mate minidots should be updated (defaults to 1 sec).
- Removed a bunch of broken comments in skill.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7929 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/party.c')
-rw-r--r--src/map/party.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/party.c b/src/map/party.c
index 309995d9d..dccc1bad7 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -22,8 +22,6 @@
#include "skill.h"
#include "status.h"
-#define PARTY_SEND_XY_INVERVAL 1000 // 座標やHP送信の間隔
-
static struct dbt* party_db;
static struct party_data* party_cache = NULL; //party in cache for skipping consecutive lookups. [Skotlex]
int party_share_level = 10;
@@ -58,7 +56,7 @@ void do_init_party(void)
{
party_db=db_alloc(__FILE__,__LINE__,DB_INT,DB_OPT_RELEASE_DATA,sizeof(int));
add_timer_func_list(party_send_xy_timer,"party_send_xy_timer");
- add_timer_interval(gettick()+PARTY_SEND_XY_INVERVAL,party_send_xy_timer,0,0,PARTY_SEND_XY_INVERVAL);
+ add_timer_interval(gettick()+battle_config.party_update_interval,party_send_xy_timer,0,0,battle_config.party_update_interval);
}
// 検索