summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-09-27 11:17:54 +0000
committerrubidium <rubidium@openttd.org>2014-09-27 11:17:54 +0000
commit0176ef274f3b4539f43b66a649fc0d0ee0239234 (patch)
treea97dcf3f8a401c4c6e53dc165339e87cf420b402 /src/table
parentf1920457965d49bc329c0648d030600db38f227a (diff)
downloadopenttd-0176ef274f3b4539f43b66a649fc0d0ee0239234.tar.xz
(svn r26928) -Change: scale the heightmap colours over the whole range of heights (based on patch by ic111)
Diffstat (limited to 'src/table')
-rw-r--r--src/table/heightmap_colours.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/table/heightmap_colours.h b/src/table/heightmap_colours.h
index 2acbd066c..04336b066 100644
--- a/src/table/heightmap_colours.h
+++ b/src/table/heightmap_colours.h
@@ -30,7 +30,6 @@ static const uint32 _green_map_heights[] = {
MKCOLOUR_XXXX(0x27),
MKCOLOUR_XXXX(0x27),
};
-assert_compile(lengthof(_green_map_heights) == MAX_TILE_HEIGHT + 1);
/** Height map colours for the dark green colour scheme, ordered by height. */
static const uint32 _dark_green_map_heights[] = {
@@ -51,7 +50,6 @@ static const uint32 _dark_green_map_heights[] = {
MKCOLOUR_XXXX(0x67),
MKCOLOUR_XXXX(0x67),
};
-assert_compile(lengthof(_dark_green_map_heights) == MAX_TILE_HEIGHT + 1);
/** Height map colours for the violet colour scheme, ordered by height. */
static const uint32 _violet_map_heights[] = {
@@ -72,4 +70,3 @@ static const uint32 _violet_map_heights[] = {
MKCOLOUR_XXXX(0x87),
MKCOLOUR_XXXX(0x87),
};
-assert_compile(lengthof(_violet_map_heights) == MAX_TILE_HEIGHT + 1);