File diff r26193:4bc7915a2156 → r26194:f7347205838e
src/tree_cmd.cpp
Show inline comments
 
@@ -389,7 +389,7 @@ void GenerateTrees()
 
CommandCost CmdPlantTree(DoCommandFlag flags, TileIndex tile, TileIndex start_tile, byte tree_to_plant)
 
{
 
	StringID msg = INVALID_STRING_ID;
 
	CommandCost cost(EXPENSES_OTHER);
 
	CommandCost cost(EXPENSES_T_TREES_CON);
 

	
 
	if (start_tile >= MapSize()) return CMD_ERROR;
 
	/* Check the tree type within the current climate */
 
@@ -613,7 +613,7 @@ static CommandCost ClearTile_Trees(TileI
 

	
 
	if (flags & DC_EXEC) DoClearSquare(tile);
 

	
 
	return CommandCost(EXPENSES_CONSTRUCTION, num * _price[PR_CLEAR_TREES]);
 
	return CommandCost(EXPENSES_T_DEMOLITION, num * _price[PR_CLEAR_TREES]);
 
}
 

	
 
static void GetTileDesc_Trees(TileIndex tile, TileDesc *td)