(svn r19767) -Fix [FS#3808]: Height in smallmap was different from measured heights (ChillCore).

This commit is contained in:
alberth
2010-05-07 20:39:00 +00:00
parent d822b2969b
commit 8d1d4267af
3 changed files with 6 additions and 4 deletions

View File

@@ -1107,7 +1107,7 @@ public:
GfxFillRect(x + blob_left, y + 1, x + blob_right, y + row_height - 1, 0); // Outer border of the legend colour
}
} else {
if (this->map_type == SMT_CONTOUR) SetDParam(0, tbl->u.height * 100);
if (this->map_type == SMT_CONTOUR) SetDParam(0, tbl->u.height * TILE_HEIGHT_STEP);
/* Anything that is not an industry is using normal process */
GfxFillRect(x + blob_left, y + 1, x + blob_right, y + row_height - 1, 0);