hedgewars/uWorld.pas
changeset 10939 55ed72ad3a57
parent 10917 97f9a25024e6
child 10978 54a49174dbec
equal deleted inserted replaced
10938:91c75537fba0 10939:55ed72ad3a57
  1704 end;
  1704 end;
  1705 
  1705 
  1706 var PrevSentPointTime: LongWord = 0;
  1706 var PrevSentPointTime: LongWord = 0;
  1707 
  1707 
  1708 procedure MoveCamera;
  1708 procedure MoveCamera;
  1709 var EdgesDist, wdy, shs,z, amNumOffsetX, amNumOffsetY, cameraJump, dstX: LongInt;
  1709 var EdgesDist, wdy, shs,z, amNumOffsetX, amNumOffsetY, dstX: LongInt;
  1710     inbtwnTrgtAttks: Boolean;
  1710     inbtwnTrgtAttks: Boolean;
  1711 begin
  1711 begin
  1712 {$IFNDEF MOBILE}
  1712 {$IFNDEF MOBILE}
  1713 if (not (CurrentTeam^.ExtDriven and isCursorVisible and (not bShowAmmoMenu) and autoCameraOn)) and cHasFocus and (GameState <> gsConfirm) then
  1713 if (not (CurrentTeam^.ExtDriven and isCursorVisible and (not bShowAmmoMenu) and autoCameraOn)) and cHasFocus and (GameState <> gsConfirm) then
  1714     uCursor.updatePosition();
  1714     uCursor.updatePosition();