(svn r19356) -Fix: Whitespace.

This commit is contained in:
frosch 2010-03-06 16:15:50 +00:00
parent ef52e21c75
commit dc79bf4c01
2 changed files with 3 additions and 3 deletions

View File

@ -77,7 +77,7 @@ struct GroundVehicle : public SpecializedVehicle<T, Type> {
void CargoChanged();
int GetAcceleration() const;
/**
/**
* Calculates the total slope resistance for this vehicle.
* @return Slope resistance.
*/

View File

@ -1487,12 +1487,12 @@ static void SwapTrainFlags(uint16 *swap_flag1, uint16 *swap_flag2)
SetBit(*swap_flag2, GVF_GOINGDOWN_BIT);
} else if (HasBit(flag1, GVF_GOINGDOWN_BIT)) {
SetBit(*swap_flag2, GVF_GOINGUP_BIT);
}
}
if (HasBit(flag2, GVF_GOINGUP_BIT)) {
SetBit(*swap_flag1, GVF_GOINGDOWN_BIT);
} else if (HasBit(flag2, GVF_GOINGDOWN_BIT)) {
SetBit(*swap_flag1, GVF_GOINGUP_BIT);
}
}
}
static void ReverseTrainSwapVeh(Train *v, int l, int r)