summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-03-14 14:30:51 +0000
committeralberth <alberth@openttd.org>2010-03-14 14:30:51 +0000
commit6601ecc87a81257c022388b02fb03db39de3bd74 (patch)
treef587405e254fab330734c4352474a57383ff78f1
parent7d9a970c5cd6d83e3562054c399f72826b128184 (diff)
downloadopenttd-6601ecc87a81257c022388b02fb03db39de3bd74.tar.xz
(svn r19418) -Codechange: Code style fix for ValParamTrackOrientation().
-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