From dc79bf4c0190666f321962e106af705323348976 Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 6 Mar 2010 16:15:50 +0000 Subject: (svn r19356) -Fix: Whitespace. --- src/ground_vehicle.hpp | 2 +- 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 { 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) -- cgit v1.2.3-70-g09d2