make the fire button appear only on android for now, I'll make it depend on a variable later on hedgeroid
authorXeli
Sun, 25 Sep 2011 18:19:45 +0200
branchhedgeroid
changeset 5941 db4751cb4f53
parent 5938 c186c454779d
child 5943 5b2b86a37089
make the fire button appear only on android for now, I'll make it depend on a variable later on
hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas	Fri Sep 16 20:39:14 2011 +0200
+++ b/hedgewars/uWorld.pas	Sun Sep 25 18:19:45 2011 +0200
@@ -913,9 +913,10 @@
 // Captions
 DrawCaptions;
 
+{$IFDEF ANDROID}
 // Draw buttons Related to the Touch interface
 DrawTexture(Round(-cScreenWidth*0.5 + cScreenHeight*0.02),Round((cScreenHeight*0.98)-(spritesData[sprFireButton].Height*0.4) ),spritesData[sprFireButton].Texture, 0.4);
-
+{$ENDIF}
 // Teams Healths
 if TeamsCount * 20 > cScreenHeight div 7 then  // take up less screen on small displays
     begin