diff options
author | peter1138 <peter1138@openttd.org> | 2011-11-24 17:37:20 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2011-11-24 17:37:20 +0000 |
commit | 3e1d07041350c923d08275a22b0745a0edc4cbfc (patch) | |
tree | eabbed1e6e2430dd42304425b38c2739118e7706 /src/town_cmd.cpp | |
parent | 7337e7ff49f9a86280114a4796c8eefb0a3c0609 (diff) | |
download | openttd-3e1d07041350c923d08275a22b0745a0edc4cbfc.tar.xz |
(svn r23319) -Fix (r23316): Offsets of viewport signs were not scaled up.
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r-- | src/town_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index e303a2515..745eed350 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -355,7 +355,7 @@ void Town::UpdateVirtCoord() Point pt = RemapCoords2(TileX(this->xy) * TILE_SIZE, TileY(this->xy) * TILE_SIZE); SetDParam(0, this->index); SetDParam(1, this->population); - this->sign.UpdatePosition(pt.x, pt.y - 24, + this->sign.UpdatePosition(pt.x, pt.y - 24 * ZOOM_LVL_BASE, _settings_client.gui.population_in_label ? STR_VIEWPORT_TOWN_POP : STR_VIEWPORT_TOWN); SetWindowDirty(WC_TOWN_VIEW, this->index); |