(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.
This commit is contained in:
belugas
2007-11-27 16:02:13 +00:00
parent 9402d4054a
commit 1682d5d679
6 changed files with 20 additions and 21 deletions

View File

@@ -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) {