diff options
author | rubidium <rubidium@openttd.org> | 2009-03-12 14:21:18 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-12 14:21:18 +0000 |
commit | 3d780608a26c2461e493be52a1fd82122c23820d (patch) | |
tree | fae7fdfd90ad3dbe2c11215221506c3882556931 /src/heightmap.h | |
parent | cef662825b27f5c934efeadd6112888e8b97a061 (diff) | |
download | openttd-3d780608a26c2461e493be52a1fd82122c23820d.tar.xz |
(svn r15685) -Fix [FS#2720]: do not crash when someone substitutes the "map generation" sprites with garbage.
Diffstat (limited to 'src/heightmap.h')
-rw-r--r-- | src/heightmap.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/heightmap.h b/src/heightmap.h index 1bbe197d9..c30ef0d9a 100644 --- a/src/heightmap.h +++ b/src/heightmap.h @@ -37,4 +37,10 @@ void LoadHeightmap(char *filename); */ void FlatEmptyWorld(byte tile_height); +/** + * This function takes care of the fact that land in OpenTTD can never differ + * more than 1 in height + */ +void FixSlopes(); + #endif /* HEIGHTMAP_H */ |