diff options
author | alberth <alberth@openttd.org> | 2010-05-07 20:39:00 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-05-07 20:39:00 +0000 |
commit | 8d1d4267afccf29d298485fca1251bd1c341158c (patch) | |
tree | 4894e11c3b1d2a93443f3364e3ccc8d9098ed1ed /src/smallmap_gui.cpp | |
parent | d822b2969bad3bfe2519e6ff673557ee8d58c36c (diff) | |
download | openttd-8d1d4267afccf29d298485fca1251bd1c341158c.tar.xz |
(svn r19767) -Fix [FS#3808]: Height in smallmap was different from measured heights (ChillCore).
Diffstat (limited to 'src/smallmap_gui.cpp')
-rw-r--r-- | src/smallmap_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |