changed iphone specific ifdefs to mobile hedgeroid
authorXeli
Tue, 09 Aug 2011 20:51:20 +0200
branchhedgeroid
changeset 5502 0d1a1aeed00a
parent 5500 c75acaf7cd38
child 5504 96d735b83d43
changed iphone specific ifdefs to mobile
hedgewars/uWorld.pas
--- a/hedgewars/uWorld.pas	Mon Aug 08 23:52:17 2011 +0200
+++ b/hedgewars/uWorld.pas	Tue Aug 09 20:51:20 2011 +0200
@@ -1174,7 +1174,7 @@
 var EdgesDist, wdy, shs: LongInt;
     PrevSentPointTime: LongWord = 0;
 begin
-{$IFNDEF IPHONEOS}
+{$IFNDEF MOBILE}
 if (not (CurrentTeam^.ExtDriven and isCursorVisible and not bShowAmmoMenu)) and cHasFocus then
     uCursor.updatePosition();
 {$ENDIF}
@@ -1199,7 +1199,7 @@
 
 if AMxShift < AMWidth then
 begin
-{$IFDEF IPHONEOS}
+{$IFDEF MOBILE}
     if CursorPoint.X < cScreenWidth div 2 + AMxShift - AMWidth then CursorPoint.X:= cScreenWidth div 2 + AMxShift - AMWidth;
     if CursorPoint.X > cScreenWidth div 2 + AMxShift - AMxOffset then CursorPoint.X:= cScreenWidth div 2 + AMxShift - AMxOffset;
     if CursorPoint.Y < cScreenHeight - AMyOffset - SlotsNum * AMSlotSize then CursorPoint.Y:= cScreenHeight - AMyOffset - SlotsNum * AMSlotSize;