diff options
Diffstat (limited to 'src/timer.cpp')
-rw-r--r-- | src/timer.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/timer.cpp b/src/timer.cpp index 27f2aecfd..ec0ddb645 100644 --- a/src/timer.cpp +++ b/src/timer.cpp @@ -26,7 +26,7 @@ void TimerManager::TickTimers(time_t TIME) { std::vector<Timer *>::iterator i = Timers.begin(); Timer *t = (*i); - + // Probable fix: move vector manipulation to *before* we modify the vector. Timers.erase(i); @@ -62,5 +62,3 @@ bool TimerManager::TimerComparison( Timer *one, Timer *two) { return (one->GetTimer()) < (two->GetTimer()); } - - |