--- a/hedgewars/uTouch.pas Sat Apr 28 12:35:29 2012 +0200
+++ b/hedgewars/uTouch.pas Fri Apr 27 23:39:01 2012 +0200
@@ -235,19 +235,19 @@
dec(buttonsDown);
if widget = @arrowLeft then
- leftKey:= false;
+ ParseTeamCommand('-left');
if widget = @arrowRight then
- rightKey:= false;
+ ParseTeamCommand('-right');
if widget = @arrowUp then
- upKey:= false;
+ ParseTeamCommand('-up');
if widget = @arrowDown then
- downKey:= false;
+ ParseTeamCommand('-down');
if widget = @fireButton then
- spaceKey:= false;
+ ParseTeamCommand('-attack');
end;
deleteFinger(pointerId);