diff options
author | frosch <frosch@openttd.org> | 2010-03-06 16:15:50 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-03-06 16:15:50 +0000 |
commit | dc79bf4c0190666f321962e106af705323348976 (patch) | |
tree | 4ad73ac638e96472ea4a13e8e0005f372f8b2320 /src | |
parent | ef52e21c75551d4cfd9d0b9669c84f4903d433dc (diff) | |
download | openttd-dc79bf4c0190666f321962e106af705323348976.tar.xz |
(svn r19356) -Fix: Whitespace.
Diffstat (limited to 'src')
-rw-r--r-- | src/ground_vehicle.hpp | 2 | ||||
-rw-r--r-- | src/train_cmd.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ground_vehicle.hpp b/src/ground_vehicle.hpp index 7a47e20ba..5be320d0f 100644 --- a/src/ground_vehicle.hpp +++ b/src/ground_vehicle.hpp @@ -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. */ diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 050727a3d..b4f9689c4 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -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) |