summaryrefslogtreecommitdiff
path: root/src/waypoint_cmd.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2011-11-24 17:37:20 +0000
committerpeter1138 <peter1138@openttd.org>2011-11-24 17:37:20 +0000
commit3e1d07041350c923d08275a22b0745a0edc4cbfc (patch)
treeeabbed1e6e2430dd42304425b38c2739118e7706 /src/waypoint_cmd.cpp
parent7337e7ff49f9a86280114a4796c8eefb0a3c0609 (diff)
downloadopenttd-3e1d07041350c923d08275a22b0745a0edc4cbfc.tar.xz
(svn r23319) -Fix (r23316): Offsets of viewport signs were not scaled up.
Diffstat (limited to 'src/waypoint_cmd.cpp')
-rw-r--r--src/waypoint_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waypoint_cmd.cpp b/src/waypoint_cmd.cpp
index 62b733bd0..f7d6a1d6b 100644
--- a/src/waypoint_cmd.cpp
+++ b/src/waypoint_cmd.cpp
@@ -38,7 +38,7 @@ void Waypoint::UpdateVirtCoord()
{
Point pt = RemapCoords2(TileX(this->xy) * TILE_SIZE, TileY(this->xy) * TILE_SIZE);
SetDParam(0, this->index);
- this->sign.UpdatePosition(pt.x, pt.y - 0x20, STR_VIEWPORT_WAYPOINT);
+ this->sign.UpdatePosition(pt.x, pt.y - 32 * ZOOM_LVL_BASE, STR_VIEWPORT_WAYPOINT);
/* Recenter viewport */
InvalidateWindowData(WC_WAYPOINT_VIEW, this->index);
}