summaryrefslogtreecommitdiff
path: root/src/smallmap_gui.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-05-07 20:39:00 +0000
committeralberth <alberth@openttd.org>2010-05-07 20:39:00 +0000
commit8d1d4267afccf29d298485fca1251bd1c341158c (patch)
tree4894e11c3b1d2a93443f3364e3ccc8d9098ed1ed /src/smallmap_gui.cpp
parentd822b2969bad3bfe2519e6ff673557ee8d58c36c (diff)
downloadopenttd-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.cpp2
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);