TrinityCore/TrinityCore — pull request #10737 by jackpoz (2013-09-07 15:34:31+00:00)
Title: Core/Timer: Better handle system clock changes

Change IntervalTimer::Reset() behavior to handle system clock changes forward and backward.
This fixes IntervalTimer:.Passed() returning true till it catches up to the new time, triggering the event up to "std::numeric_limits::max() / _interval" times.
Fixes https://github.com/TrinityCore/TrinityCore/issues/5816

The change itself is simpler than the explanation.