summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ground_vehicle.hpp2
-rw-r--r--src/train_cmd.cpp4
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)