if(time < (cur->t - cur->n - 1)) { cur->t = time; log_error("Resetting Timer - it was too high!\n"); continue; }
void timer_loop(Uint32 time){     struct TIMER *cur;          // Loop, going to the next section, while there is one     for(cur = timer; cur != NULL; cur = cur->next) {           if(cur->t < time) {                 // Run the callback                 if(cur->c(time))                 {                       cur->t = time + cur->n;                 }           }     }}