dont allow choosing weapons when the AI is playing
authorXeli
Thu, 17 May 2012 16:52:17 +0200
changeset 7087 d2089f2ea5af
parent 7086 e99944b25764
child 7088 dbec9bae4de1
dont allow choosing weapons when the AI is playing
hedgewars/uTouch.pas
--- a/hedgewars/uTouch.pas	Thu May 17 16:51:54 2012 +0200
+++ b/hedgewars/uTouch.pas	Thu May 17 16:52:17 2012 +0200
@@ -319,7 +319,7 @@
         begin
         CursorPoint.X:= finger.x;
         CursorPoint.Y:= finger.y;
-        doPut(CursorPoint.X, CursorPoint.Y, false); 
+        ParseTeamCommand('put'); 
         end
     else
         bShowAmmoMenu:= false;