diff --git a/src/train.h b/src/train.h index 3b1222ae77..ee223c06e2 100644 --- a/src/train.h +++ b/src/train.h @@ -22,7 +22,7 @@ struct Train; /** Rail vehicle flags. */ -enum VehicleRailFlag : uint8_t { +enum class VehicleRailFlag : uint8_t { Reversing = 0, ///< Train is slowing down to reverse. PoweredWagon = 3, ///< Wagon is powered. Flipped = 4, ///< Reverse the visible direction of the vehicle.