summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-01-26 17:29:37 -0200
committershennetsind <ind@henn.et>2013-01-26 17:29:37 -0200
commit0f9a3af9e466576cdb64b0e3b4ab1a5dec9549f5 (patch)
tree0663a83bcb0c86ad9e9b29a48e7c7aa600ded28c /src/map/battle.c
parent495cf1d438ee7069c10e4e3ff90101d5941956b8 (diff)
downloadhercules-0f9a3af9e466576cdb64b0e3b4ab1a5dec9549f5.tar.gz
hercules-0f9a3af9e466576cdb64b0e3b4ab1a5dec9549f5.tar.bz2
hercules-0f9a3af9e466576cdb64b0e3b4ab1a5dec9549f5.tar.xz
hercules-0f9a3af9e466576cdb64b0e3b4ab1a5dec9549f5.zip
Changing ASCI Art / Moving stat server to Hercules.
Changed the ASCI art (not quite final; just changing it prior to release), moving stat server to hercules end Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 0959ea858..487cf4854 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -5878,9 +5878,9 @@ static const struct _battle_data {
};
#ifndef STATS_OPT_OUT
/**
- * rAthena anonymous statistic usage report -- packet is built here, and sent to char server to report.
+ * Hercules anonymous statistic usage report -- packet is built here, and sent to char server to report.
**/
-void rAthena_report(char* date, char *time_c) {
+void Hercules_report(char* date, char *time_c) {
int i, rev = 0, bd_size = ARRAYLENGTH(battle_data);
unsigned int config = 0;
const char* rev_str;
@@ -6004,9 +6004,9 @@ void rAthena_report(char* date, char *time_c) {
#undef BFLAG_LENGTH
}
-static int rAthena_report_timer(int tid, unsigned int tick, int id, intptr_t data) {
+static int Hercules_report_timer(int tid, unsigned int tick, int id, intptr_t data) {
if( chrif_isconnected() ) {/* char server relays it, so it must be online. */
- rAthena_report(__DATE__,__TIME__);
+ Hercules_report(__DATE__,__TIME__);
}
return 0;
}
@@ -6136,8 +6136,8 @@ void do_init_battle(void)
add_timer_func_list(battle_delay_damage_sub, "battle_delay_damage_sub");
#ifndef STATS_OPT_OUT
- add_timer_func_list(rAthena_report_timer, "rAthena_report_timer");
- add_timer_interval(gettick()+30000, rAthena_report_timer, 0, 0, 60000 * 30);
+ add_timer_func_list(Hercules_report_timer, "Hercules_report_timer");
+ add_timer_interval(gettick()+30000, Hercules_report_timer, 0, 0, 60000 * 30);
#endif
}