diff options
author | planetmaker <planetmaker@openttd.org> | 2013-01-08 22:46:42 +0000 |
---|---|---|
committer | planetmaker <planetmaker@openttd.org> | 2013-01-08 22:46:42 +0000 |
commit | c24374f99c22d9420d6d182ff835f07a5b954b48 (patch) | |
tree | 7043ad53c941668339a0949867e10888f9e54f16 /src/heightmap.cpp | |
parent | 89a2ba2a6d25e605c391e7343ba66090ee9f26de (diff) | |
download | openttd-c24374f99c22d9420d6d182ff835f07a5b954b48.tar.xz |
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
Diffstat (limited to 'src/heightmap.cpp')
-rw-r--r-- | src/heightmap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/heightmap.cpp b/src/heightmap.cpp index be51dc004..8f0fac6ad 100644 --- a/src/heightmap.cpp +++ b/src/heightmap.cpp @@ -344,7 +344,7 @@ static void GrayscaleToMapHeights(uint img_width, uint img_height, byte *map) (col < col_pad) || (col >= (width - col_pad - (_settings_game.construction.freeform_edges ? 0 : 1)))) { SetTileHeight(tile, 0); } else { - /* Use nearest neighbor resizing to scale map data. + /* Use nearest neighbour resizing to scale map data. * We rotate the map 45 degrees (counter)clockwise */ img_row = (((row - row_pad) * num_div) / img_scale); switch (_settings_game.game_creation.heightmap_rotation) { @@ -464,7 +464,7 @@ bool GetHeightmapDimensions(char *filename, uint *x, uint *y) * Load a heightmap from file and change the map in his current dimensions * to a landscape representing the heightmap. * It converts pixels to height. The brighter, the higher. - * @param filename of the heighmap file to be imported + * @param filename of the heightmap file to be imported */ void LoadHeightmap(char *filename) { |