Hid timer function parameters in a macro (#3311)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user