summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-08-13 18:59:34 +0000
committertruelight <truelight@openttd.org>2007-08-13 18:59:34 +0000
commit4841510c085982ec3ad42a59d8dcec222a7ef375 (patch)
tree32e58ab349d87a736ed97266a4831031af83e827
parentdfa82cd9684eb0b20c60d8389a24d4f01759e9e0 (diff)
downloadopenttd-4841510c085982ec3ad42a59d8dcec222a7ef375.tar.xz
(svn r10878) -Add [FS#653]: added TileHeight to the Land Area Information tool (blove)
-rw-r--r--src/lang/english.txt2
-rw-r--r--src/misc_gui.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/lang/english.txt b/src/lang/english.txt
index 4a9c8f763..495fa0b79 100644
--- a/src/lang/english.txt
+++ b/src/lang/english.txt
@@ -1262,7 +1262,7 @@ STR_LANDINFO_LOCK :Lock
STR_BUOY_IS_IN_USE :{WHITE}...buoy is in use!
-STR_LANDINFO_COORDS :{BLACK}Coordinates: {LTBLUE}{NUM}x{NUM} ({STRING})
+STR_LANDINFO_COORDS :{BLACK}Coordinates: {LTBLUE}{NUM}x{NUM}x{NUM} ({STRING})
STR_CANT_REMOVE_PART_OF_STATION :{WHITE}Can't remove part of station...
STR_CANT_CONVERT_RAIL :{WHITE}Can't convert railtype here...
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);