mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
Fix typos using https://github.com/crate-ci/typos
Changes were reviewed manually
This commit is contained in:
@ -187,7 +187,7 @@ void MapView::postSwipe(uint32_t msPassed)
|
||||
std::pair<uint32_t, Point> firstAccepted;
|
||||
uint32_t now = GH.input().getTicks();
|
||||
for (auto & x : swipeHistory) {
|
||||
if(now - x.first < postSwipeCatchIntervalMs) { // only the last x ms are catched
|
||||
if(now - x.first < postSwipeCatchIntervalMs) { // only the last x ms are caught
|
||||
if(firstAccepted.first == 0)
|
||||
firstAccepted = x;
|
||||
diff += x.second;
|
||||
|
Reference in New Issue
Block a user