diff options
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r-- | src/misc_gui.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index e23da4293..0eccb0c12 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -213,10 +213,11 @@ public: /* Location */ char tmp[16]; seprintf(tmp, lastof(tmp), "0x%.4X", tile); - SetDParam(0, TileX(tile)); - SetDParam(1, TileY(tile)); + SetDParam(0, LayerX(tile)); + SetDParam(1, LayerY(tile)); SetDParam(2, GetTileZ(tile)); - SetDParamStr(3, tmp); + SetDParam(3, LayerIndex(tile)); + SetDParamStr(4, tmp); GetString(this->landinfo_data[line_nr], STR_LAND_AREA_INFORMATION_LANDINFO_COORDS, lastof(this->landinfo_data[line_nr])); line_nr++; |