That's right, the depreciation is an accountancy exercise and is disregarded for CT purposes. You're not paying tax on the depreciation, you're paying tax on the profit before depreciation is taken into consideration.
Presumably you have already claimed AIA or capital allowances, and tax will have been saved on that.
__________________
John
Any advice given is for general guidance and professional advice should be sought applicable to your circumstances.