summaryrefslogtreecommitdiff
path: root/src/rail_cmd.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-11-27 16:02:13 +0000
committerbelugas <belugas@openttd.org>2007-11-27 16:02:13 +0000
commit1682d5d6796505c7d87ab179cd7f95cccd31dd2c (patch)
treeaee628dd42ccd2800cd318427a96731d0c6cc442 /src/rail_cmd.cpp
parent9402d4054ab4740ddf5758ed5bf0f379a75f00ea (diff)
downloadopenttd-1682d5d6796505c7d87ab179cd7f95cccd31dd2c.tar.xz
(svn r11533) -Codechange: Rename some unclear clear_x prices member names.
While at it, remove one unused entry on the clear_price_table array. It is based on ground type, and the unused one was referencing a non existing one.
Diffstat (limited to 'src/rail_cmd.cpp')
-rw-r--r--src/rail_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp
index 953c594cc..f73e6532f 100644
--- a/src/rail_cmd.cpp
+++ b/src/rail_cmd.cpp
@@ -419,7 +419,7 @@ CommandCost CmdBuildSingleRail(TileIndex tile, uint32 flags, uint32 p1, uint32 p
if (water_ground) {
cost.AddCost(-_price.clear_water);
- cost.AddCost(_price.purchase_land);
+ cost.AddCost(_price.clear_roughland);
}
if (flags & DC_EXEC) {