[BUG 1] - Fixed simultaneous pressing of two arrow buttons on mobile
authorantonc27 <antonc27@mail.ru>
Sat, 05 Mar 2016 21:04:06 +0100
changeset 11597 49b2dcfb89d0
parent 11596 7c9243584a72
child 11609 4df32636a4b2
[bug #1] - Fixed simultaneous pressing of two arrow buttons on mobile
hedgewars/uTouch.pas
--- a/hedgewars/uTouch.pas	Sat Mar 05 16:46:04 2016 +0300
+++ b/hedgewars/uTouch.pas	Sat Mar 05 21:04:06 2016 +0100
@@ -423,6 +423,7 @@
                 fingers[index].historicalX := fingers[pointerCount].historicalX;
                 fingers[index].historicalY := fingers[pointerCount].historicalY;
                 fingers[index].timeSinceDown := fingers[pointerCount].timeSinceDown;
+                fingers[index].pressedWidget := fingers[pointerCount].pressedWidget;
 
                 fingers[pointerCount].id := 0;
             end