summaryrefslogtreecommitdiff
path: root/src/rail_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rail_cmd.cpp')
-rw-r--r--src/rail_cmd.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp
index 4d2580b98..139983b09 100644
--- a/src/rail_cmd.cpp
+++ b/src/rail_cmd.cpp
@@ -343,7 +343,10 @@ static CommandCost CheckRailSlope(Slope tileh, TrackBits rail_bits, TrackBits ex
}
/* Validate functions for rail building */
-static inline bool ValParamTrackOrientation(Track track) {return IsValidTrack(track);}
+static inline bool ValParamTrackOrientation(Track track)
+{
+ return IsValidTrack(track);
+}
/** Build a single piece of rail
* @param tile tile to build on