Spaceship near a star