FS#4708 - Terraform measurement tooltip area information wrong

Attached to Project: OpenTTD
Opened by FooBar (foobar) - Wednesday, 03 August 2011, 10:47 GMT
Last edited by frosch (frosch) - Saturday, 13 August 2011, 10:44 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version Version?
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The measurement tooltip displayed when terraforming gives an area size that is 1 higher in both directions than the actual area selected. It looks as if it counts the dots rather than the actual area in tiles.

Attached screenshot illustrates the problem. Applies to all three terraforming tools.
This task depends upon

Closed by  frosch (frosch)
Saturday, 13 August 2011, 10:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  in r22740
Comment by FooBar (foobar) - Wednesday, 03 August 2011, 10:48 GMT
Darn, forgot to set version etc. Don't seem to be able to edit this myself.

Anyways, this happens for quite some time now (maybe since ever). Currently tested in r22711 and it still exists there.
Comment by Zdeněk Sojka (SmatZ) - Wednesday, 03 August 2011, 20:26 GMT
Selected area is 2x4 tiles, but 4x6 tiles will be affected. Showing 3x5 sounds like a reasonable trade-off to me :)
Comment by FooBar (foobar) - Wednesday, 03 August 2011, 20:31 GMT
It's still useless information to me. I think people usually want to know the size of the flat area that will be created after the operation.