1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Fix map edge scrolling after swiping usage

This commit is contained in:
Ivan Savenko
2023-07-03 23:50:09 +03:00
parent 4e80356bea
commit 81b9aec527
3 changed files with 4 additions and 14 deletions

View File

@@ -63,7 +63,9 @@ void EventDispatcher::dispatchTimer(uint32_t msPassed)
EventReceiversList hlp = timeinterested;
for (auto & elem : hlp)
{
if(!vstd::contains(timeinterested,elem)) continue;
if(!vstd::contains(timeinterested,elem))
continue;
elem->tick(msPassed);
}
}