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

@@ -4117,8 +4117,7 @@ void script_stop_scriptinstances(struct script_code *code) {
/*==========================================
* Timer function for sleep
*------------------------------------------*/
int run_script_timer(int tid, unsigned int tick, int id, intptr_t data)
{
TIMER_FUNC(run_script_timer){
struct script_state *st = (struct script_state *)data;
struct linkdb_node *node = (struct linkdb_node *)sleep_db;