diff options
author | truelight <truelight@openttd.org> | 2007-08-13 18:59:34 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-08-13 18:59:34 +0000 |
commit | 114161bb7a0ddd6c06db8654e1dc7f45ac3de3e1 (patch) | |
tree | 32e58ab349d87a736ed97266a4831031af83e827 /src/misc_gui.cpp | |
parent | 35e8f64e9ab8a164fd66f7646ceb59bb8126ecd1 (diff) | |
download | openttd-114161bb7a0ddd6c06db8654e1dc7f45ac3de3e1.tar.xz |
(svn r10878) -Add [FS#653]: added TileHeight to the Land Area Information tool (blove)
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r-- | src/misc_gui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index 21cd4dd90..4af381d28 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -130,7 +130,8 @@ static void Place_LandInfo(TileIndex tile) snprintf(_userstring, lengthof(_userstring), "0x%.4X", tile); SetDParam(0, TileX(tile)); SetDParam(1, TileY(tile)); - SetDParam(2, STR_SPEC_USERSTRING); + SetDParam(2, TileHeight(tile)); + SetDParam(3, STR_SPEC_USERSTRING); GetString(_landinfo_data[3], STR_LANDINFO_COORDS, lastof(_landinfo_data[3])); SetDParam(0, STR_01A9_NONE); |