mirror of https://github.com/OpenTTD/OpenTTD
(svn r22739) -Fix: The measurement tooltip is supposed to be hidden when not dragging an area.
parent
6bb33acc0d
commit
92e701c6ed
|
@ -2786,7 +2786,7 @@ calc_heightdiff_single_direction:;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (t0 != 1 || t1 != 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;
|
||||||
|
|
Loading…
Reference in New Issue