diff options
author | Carbenium <carbenium@outlook.com> | 2020-07-25 17:59:34 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-01-24 00:01:25 +0100 |
commit | a5d85deceda576bfa8231d0a703024d13df1ff88 (patch) | |
tree | 0bade2c99c732b23edafd2aec127c121ace508f0 /src/common/Utilities/EventProcessor.h | |
parent | 5512eb2f8f09efe730ab2f997af7e7130d1e90f5 (diff) |
Core/EventMap: Unify semantics of DelayEvents
DelayEvents(Milliseconds delay) had different semantics than
DelayEvents(Milliseconds delay, uint32 group).
The first method delayed the events only in the case the internal timer
already ticked at least for the amount of delay. In contrast the latter method
delayed events regardless of the internal timer value.
Use the latter semantics for DelayEvents(Milliseconds delay) as well which makes
the outcome more predictable. Adapt tests accordingly.
(cherry picked from commit 4470b9122379dc846b322a441951a03913912b71)
Diffstat (limited to 'src/common/Utilities/EventProcessor.h')
0 files changed, 0 insertions, 0 deletions