Fix height above sea-level in measurement tool.
This commit is contained in:
@@ -3055,7 +3055,7 @@ calc_heightdiff_single_direction:;
|
||||
}
|
||||
|
||||
params[index++] = DistanceFromEdge(t1);
|
||||
params[index++] = GetTileMaxZ(t1) / TILE_HEIGHT * TILE_HEIGHT_STEP;
|
||||
params[index++] = GetTileMaxZ(t1) * TILE_HEIGHT_STEP;
|
||||
params[index++] = heightdiff;
|
||||
//Show always the measurement tooltip
|
||||
GuiShowTooltips(_thd.GetCallbackWnd(),STR_MEASURE_DIST_HEIGHTDIFF, index, params, TCC_LEFT_CLICK);
|
||||
|
Reference in New Issue
Block a user