tree_cmd.c
changeset 872 bfea30a005d5
parent 866 6a02d5c675ad
child 874 877069ec457f
--- a/tree_cmd.c	Mon Jan 03 21:05:03 2005 +0000
+++ b/tree_cmd.c	Mon Jan 03 21:26:09 2005 +0000
@@ -181,14 +181,14 @@
 				// 2x as expensive to add more trees to an existing tile
 				cost += _price.build_trees * 2;
 			} else {
-				// don't allow building on rocks
-				if (ti.type != MP_CLEAR || _map_owner[ti.tile] != OWNER_NONE || (ti.map5 & 0x1C) == 8) {
+				if (ti.type != MP_CLEAR || _map_owner[ti.tile] != OWNER_NONE) {
 					_error_message = STR_2804_SITE_UNSUITABLE;
 					continue;
 				}
 
 				// it's expensive to clear farmland
 				if ((ti.map5 & 0x1F) == 0xF) cost += _price.clear_3;
+				else if ((ti.map5 & 0x1C) == 8) cost += _price.clear_2;
 
 				if (flags & DC_EXEC) {
 					int m2;