Hid timer function parameters in a macro (#3311)

This commit is contained in:
Lemongrass3110
2018-07-15 23:17:15 +02:00
committed by GitHub
parent ec1d6d28d7
commit c4d7dc76d3
49 changed files with 160 additions and 207 deletions

View File

@@ -157,7 +157,7 @@ int elemental_save(struct elemental_data *ed) {
return 1;
}
static int elemental_summon_end(int tid, unsigned int tick, int id, intptr_t data) {
static TIMER_FUNC(elemental_summon_end){
struct map_session_data *sd;
struct elemental_data *ed;
@@ -751,7 +751,7 @@ static int elemental_ai_sub_foreachclient(struct map_session_data *sd, va_list a
return 0;
}
static int elemental_ai_timer(int tid, unsigned int tick, int id, intptr_t data) {
static TIMER_FUNC(elemental_ai_timer){
map_foreachpc(elemental_ai_sub_foreachclient,tick);
return 0;
}