Changeset - r13760:ce615064f383
[Not reviewed]
master
0 1 0
frosch - 15 years ago 2009-11-26 00:10:16
frosch@openttd.org
(svn r18295) -Fix [FS#bigos](r18283): Missed one PR_TERRAFORM.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/road_cmd.cpp
Show inline comments
 
@@ -413,7 +413,7 @@ static CommandCost CheckRoadSlope(Slope 
 
	if (_settings_game.construction.build_on_slopes && (_invalid_tileh_slopes_road[0][tileh] & (other | type_bits)) == ROAD_NONE) {
 

	
 
		/* If we add leveling we've got to pay for it */
 
		if ((other | existing) == ROAD_NONE) return CommandCost(EXPENSES_CONSTRUCTION, _price[PR_TERRAFORM]);
 
		if ((other | existing) == ROAD_NONE) return CommandCost(EXPENSES_CONSTRUCTION, _price[PR_BUILD_FOUNDATION]);
 

	
 
		return CommandCost();
 
	}
0 comments (0 inline, 0 general)