diff options
Diffstat (limited to 'src/common/timer.c')
-rw-r--r-- | src/common/timer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/timer.c b/src/common/timer.c index 5c83928ef..e7a57481a 100644 --- a/src/common/timer.c +++ b/src/common/timer.c @@ -491,6 +491,7 @@ int do_timer(int64 tick) default: case TIMER_ONCE_AUTODEL: timer_data[tid].type = 0; + timer_data[tid].func = NULL; if (free_timer_list_pos >= free_timer_list_max) { free_timer_list_max += 256; RECREATE(free_timer_list,int,free_timer_list_max); |