aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Scripting/ScriptLoader.cpp
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2013-09-07 17:27:48 +0200
committerjackpoz <giacomopoz@gmail.com>2013-09-07 17:30:23 +0200
commit67f7c1fde17334570c2266831e52c5027c1eb249 (patch)
treeb96f0efa4b5d20800c014f0e9297642da933ffce /src/server/game/Scripting/ScriptLoader.cpp
parent8c70f8cb08d2fc3b38abcac25d421cdd92e25615 (diff)
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<time_t>::max() / _interval" times. Fixes https://github.com/TrinityCore/TrinityCore/issues/5816
Diffstat (limited to 'src/server/game/Scripting/ScriptLoader.cpp')
0 files changed, 0 insertions, 0 deletions