StelObserver.cpp   StelObserver.cpp 
skipping to change at line 268 skipping to change at line 268
{ {
timeToGo = 0.; timeToGo = 0.;
currentLocation = moveTargetLocation; currentLocation = moveTargetLocation;
} }
else else
{ {
if (artificialPlanet) if (artificialPlanet)
{ {
// Update SpaceShip position // Update SpaceShip position
static_cast<ArtificialPlanet*>(artificialPlanet.data ())->computeAverage(timeToGo/(timeToGo + deltaTime)); static_cast<ArtificialPlanet*>(artificialPlanet.data ())->computeAverage(timeToGo/(timeToGo + deltaTime));
currentLocation.planetName = q_("SpaceShip"); // TRANSLATORS: "Planet name" displayed when "flying
" to another planet with Ctrl+G.
currentLocation.planetName = N_("SpaceShip");
currentLocation.name = q_(moveStartLocation.planetNa me) + " -> " + q_(moveTargetLocation.planetName); currentLocation.name = q_(moveStartLocation.planetNa me) + " -> " + q_(moveTargetLocation.planetName);
} }
else else
{ {
currentLocation.name = moveStartLocation.name + " -> " + moveTargetLocation.name; currentLocation.name = moveStartLocation.name + " -> " + moveTargetLocation.name;
currentLocation.planetName = moveTargetLocation.plan etName; currentLocation.planetName = moveTargetLocation.plan etName;
} }
// Move the lon/lat/alt on the planet // Move the lon/lat/alt on the planet
const double moveToMult = 1.-(timeToGo/transitSeconds); const double moveToMult = 1.-(timeToGo/transitSeconds);
 End of changes. 1 change blocks. 
1 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/