StelObserver.cpp   StelObserver.cpp 
skipping to change at line 262 skipping to change at line 262
{ {
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 = "SpaceShip"; currentLocation.planetName = q_("SpaceShip");
currentLocation.name = moveStartLocation.planetName currentLocation.name = q_(moveStartLocation.planetNa
+ " -> " + moveTargetLocation.planetName; 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);
currentLocation.latitude = moveStartLocation.latitude - move ToMult*(moveStartLocation.latitude-moveTargetLocation.latitude); currentLocation.latitude = moveStartLocation.latitude - move ToMult*(moveStartLocation.latitude-moveTargetLocation.latitude);
 End of changes. 1 change blocks. 
3 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/