koda told me that putting in one finger wasn't enough
authorsheepluva
Sat, 30 Apr 2016 00:02:33 +0200
changeset 11784 3ec3048c339c
parent 11783 d8a9be46dede
child 11785 2f8ffd1e1331
koda told me that putting in one finger wasn't enough
hedgewars/uTouch.pas
--- a/hedgewars/uTouch.pas	Fri Apr 29 23:52:44 2016 +0200
+++ b/hedgewars/uTouch.pas	Sat Apr 30 00:02:33 2016 +0200
@@ -425,9 +425,9 @@
                 fingers[index].timeSinceDown := fingers[pointerCount].timeSinceDown;
                 fingers[index].pressedWidget := fingers[pointerCount].pressedWidget;
 
-                fingers[pointerCount].id := 0;
+                fingers[pointerCount].id := nilFingerId;
             end
-        else fingers[index].id := 0;
+        else fingers[index].id := nilFingerId;
             break;
         end;
     end;