# HG changeset patch # User Xeli # Date 1312915880 -7200 # Node ID 0d1a1aeed00a85fd49076bef606c56cef48e7031 # Parent c75acaf7cd3897e455c5519b590f655a00bdda5c changed iphone specific ifdefs to mobile diff -r c75acaf7cd38 -r 0d1a1aeed00a 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;