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 | 6ace408bfeab41bd72027485bfb583f0d5cd0bbe (patch) | |
tree | fae7fdfd90ad3dbe2c11215221506c3882556931 /src/heightmap.cpp | |
parent | 21daa3fbc9775dc0b45db006c7adf39bdfd8254c (diff) | |
download | openttd-6ace408bfeab41bd72027485bfb583f0d5cd0bbe.tar.xz |
(svn r15685) -Fix [FS#2720]: do not crash when someone substitutes the "map generation" sprites with garbage.
Diffstat (limited to 'src/heightmap.cpp')
-rw-r--r-- | src/heightmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heightmap.cpp b/src/heightmap.cpp index 36e962dde..04207cd2e 100644 --- a/src/heightmap.cpp +++ b/src/heightmap.cpp @@ -352,7 +352,7 @@ static void GrayscaleToMapHeights(uint img_width, uint img_height, byte *map) * This function takes care of the fact that land in OpenTTD can never differ * more than 1 in height */ -static void FixSlopes() +void FixSlopes() { uint width, height; int row, col; |