summaryrefslogtreecommitdiff
path: root/src/water_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/water_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/water_cmd.cpp')
-rw-r--r--src/water_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp
index 550b85c47..664e3f5d8 100644
--- a/src/water_cmd.cpp
+++ b/src/water_cmd.cpp
@@ -357,7 +357,7 @@ static CommandCost ClearTile_Water(TileIndex tile, byte flags)
if (slope == SLOPE_N || slope == SLOPE_E || slope == SLOPE_S || slope == SLOPE_W) {
return CommandCost(_price.clear_water);
} else {
- return CommandCost(_price.purchase_land);
+ return CommandCost(_price.clear_roughland);
}
}