From 8d1d4267afccf29d298485fca1251bd1c341158c Mon Sep 17 00:00:00 2001 From: alberth Date: Fri, 7 May 2010 20:39:00 +0000 Subject: (svn r19767) -Fix [FS#3808]: Height in smallmap was different from measured heights (ChillCore). --- src/smallmap_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/smallmap_gui.cpp') diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index 78e779b2d..9bea2a542 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -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); -- cgit v1.2.3-54-g00ecf