Changeset - r14817:efc55ae8d91f
[Not reviewed]
master
0 1 0
alberth - 15 years ago 2010-03-14 14:30:51
alberth@openttd.org
(svn r19418) -Codechange: Code style fix for ValParamTrackOrientation().
1 file changed with 4 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/rail_cmd.cpp
Show inline comments
 
@@ -340,13 +340,16 @@ static CommandCost CheckRailSlope(Slope 
 

	
 
	Foundation f_old = GetRailFoundation(tileh, existing);
 
	return CommandCost(EXPENSES_CONSTRUCTION, f_new != f_old ? _price[PR_BUILD_FOUNDATION] : (Money)0);
 
}
 

	
 
/* 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
 
 * @param flags operation to perform
 
 * @param p1 railtype of being built piece (normal, mono, maglev)
 
 * @param p2 rail track to build
0 comments (0 inline, 0 general)