summaryrefslogtreecommitdiff
path: root/src/tree_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tree_cmd.cpp')
-rw-r--r--src/tree_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tree_cmd.cpp b/src/tree_cmd.cpp
index 97fbb36b0..3b985965a 100644
--- a/src/tree_cmd.cpp
+++ b/src/tree_cmd.cpp
@@ -324,8 +324,8 @@ CommandCost CmdPlantTree(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
}
switch (GetClearGround(tile)) {
- case CLEAR_FIELDS: cost.AddCost(_price.clear_3); break;
- case CLEAR_ROCKS: cost.AddCost(_price.clear_2); break;
+ case CLEAR_FIELDS: cost.AddCost(_price.clear_fields); break;
+ case CLEAR_ROCKS: cost.AddCost(_price.clear_rocks); break;
default: break;
}