summaryrefslogtreecommitdiff
path: root/waypoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'waypoint.c')
-rw-r--r--waypoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/waypoint.c b/waypoint.c
index c58556880..f06170370 100644
--- a/waypoint.c
+++ b/waypoint.c
@@ -66,7 +66,7 @@ static Waypoint* AllocateWaypoint(void)
/* Update the sign for the waypoint */
static void UpdateWaypointSign(Waypoint* wp)
{
- Point pt = RemapCoords2(TileX(wp->xy) * 16, TileY(wp->xy) * 16);
+ Point pt = RemapCoords2(TileX(wp->xy) * TILE_SIZE, TileY(wp->xy) * TILE_SIZE);
SetDParam(0, wp->index);
UpdateViewportSignPos(&wp->sign, pt.x, pt.y - 0x20, STR_WAYPOINT_VIEWPORT);
}