(svn r22740) -Fix [FS#4708]: Display the size of the leveled platform in the measurement tooltip of terraforming operations.
This commit is contained in:
@@ -2789,8 +2789,8 @@ calc_heightdiff_single_direction:;
|
|||||||
if (dx != 1 || dy != 1) {
|
if (dx != 1 || dy != 1) {
|
||||||
int heightdiff = CalcHeightdiff(style, 0, t0, t1);
|
int heightdiff = CalcHeightdiff(style, 0, t0, t1);
|
||||||
|
|
||||||
params[index++] = dx;
|
params[index++] = dx - (style & HT_POINT ? 1 : 0);
|
||||||
params[index++] = dy;
|
params[index++] = dy - (style & HT_POINT ? 1 : 0);
|
||||||
if (heightdiff != 0) params[index++] = heightdiff;
|
if (heightdiff != 0) params[index++] = heightdiff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user