diff options
Diffstat (limited to 'ttools.c')
-rw-r--r-- | ttools.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -253,8 +253,13 @@ int setTimerId(cTimer* timer, int tid) cTimer* getTimerById(cTimers* timers, int timerid) { for (cTimer* t = timers->First(); t; t = timers->Next(t)) + { + if (!t->Local()) + continue; + if (timerid == getTimerIdOf(t)) return t; + } return 0; } |