summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-11-26 00:10:16 +0000
committerfrosch <frosch@openttd.org>2009-11-26 00:10:16 +0000
commit1725a737001a5c60ec8581ee818005143d994c56 (patch)
treecb48ce009a9fa6001bf0c5d655e6db8a630b5f28 /src
parent851c71a79d94e17c4a01887f90e7c76ccb474b3d (diff)
downloadopenttd-1725a737001a5c60ec8581ee818005143d994c56.tar.xz
(svn r18295) -Fix [FS#bigos](r18283): Missed one PR_TERRAFORM.
Diffstat (limited to 'src')
-rw-r--r--src/road_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp
index a824fd21d..5a1cf34ea 100644
--- a/src/road_cmd.cpp
+++ b/src/road_cmd.cpp
@@ -413,7 +413,7 @@ static CommandCost CheckRoadSlope(Slope tileh, RoadBits *pieces, RoadBits existi
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();
}