[Fixed 1.08][Bug 1.07] wrong calculation of the area size

Hey cliff,

the area size mentioned in the ‘New Game’ screen and at the ‘Expand into adjacent factory’ window is too small.
It looks like right - left and bottom - top . But because the left and the top are part of the area +1 must be added in both cases.
One example from my own map:
image

Correct size of his expansion is 33 x 60 as the data in the mission file is:
left = 0
top = 40
right = 32
bottom = 99
=> 32 - 0 + 1 = 33 // 99 - 40 + 1 = 60

Another example: ‘zone0’ from your ‘mission_small.txt’ - mentioned size is 26 x 25 but counted 27 x 26 …
left = 13
top = 14
right = 38
bottom = 40

Additional the rent was set to 5.95$ per m²:
rent = 5.9500

But only 5$ per square meter are shown.

No idea if this has some more influence as the mentioned cosmetical issues.

Kind regards

P.S.: Sometime I wish to have a ingame measuring tape ;o)

Ha! You are quite right… I’ll fix it :smiley:

Hey Cliff,

Thanks for the new ‘Bug Reports’ subforum. Is there any chance to mark a thread like this as ‘fixed’ or ‘solved’ or move it to another sub-subforum like ‘done bug reports’?

At topic: thanks for the very fast reply :smiley:

Kind regards