diff options
author | alberth <alberth@openttd.org> | 2012-01-01 17:22:32 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2012-01-01 17:22:32 +0000 |
commit | 4af8c2d5e17fe04d0e352977993fced13e08b787 (patch) | |
tree | af38f024a38bf020a217ee4849f72877541399c7 /src/heightmap.cpp | |
parent | da460f6928851dee007fab7637c75a242398370c (diff) | |
download | openttd-4af8c2d5e17fe04d0e352977993fced13e08b787.tar.xz |
(svn r23704) -Doc: Doxygen comment fixes and additions.
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 1e6531fb0..be51dc004 100644 --- a/src/heightmap.cpp +++ b/src/heightmap.cpp @@ -28,7 +28,7 @@ */ static inline byte RGBToGrayscale(byte red, byte green, byte blue) { - /* To avoid doubles and stuff, multiple it with a total of 65536 (16bits), then + /* To avoid doubles and stuff, multiply it with a total of 65536 (16bits), then * divide by it to normalize the value to a byte again. */ return ((red * 19595) + (green * 38470) + (blue * 7471)) / 65536; } |