(svn r10878) -Add [FS#653]: added TileHeight to the Land Area Information tool (blove)
authortruelight
Mon, 13 Aug 2007 18:59:34 +0000
changeset 7438 991f20e5bc77
parent 7437 27551f746064
child 7439 dfbe1adff313
(svn r10878) -Add [FS#653]: added TileHeight to the Land Area Information tool (blove)
src/lang/english.txt
src/misc_gui.cpp
--- a/src/lang/english.txt	Mon Aug 13 13:12:19 2007 +0000
+++ b/src/lang/english.txt	Mon Aug 13 18:59:34 2007 +0000
@@ -1262,7 +1262,7 @@
 
 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...
--- a/src/misc_gui.cpp	Mon Aug 13 13:12:19 2007 +0000
+++ b/src/misc_gui.cpp	Mon Aug 13 18:59:34 2007 +0000
@@ -130,7 +130,8 @@
 	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);