equal
deleted
inserted
replaced
64 } |
64 } |
65 |
65 |
66 /* Update the sign for the waypoint */ |
66 /* Update the sign for the waypoint */ |
67 static void UpdateWaypointSign(Waypoint* wp) |
67 static void UpdateWaypointSign(Waypoint* wp) |
68 { |
68 { |
69 Point pt = RemapCoords2(TileX(wp->xy) * 16, TileY(wp->xy) * 16); |
69 Point pt = RemapCoords2(TileX(wp->xy) * TILE_SIZE, TileY(wp->xy) * TILE_SIZE); |
70 SetDParam(0, wp->index); |
70 SetDParam(0, wp->index); |
71 UpdateViewportSignPos(&wp->sign, pt.x, pt.y - 0x20, STR_WAYPOINT_VIEWPORT); |
71 UpdateViewportSignPos(&wp->sign, pt.x, pt.y - 0x20, STR_WAYPOINT_VIEWPORT); |
72 } |
72 } |
73 |
73 |
74 /* Redraw the sign of a waypoint */ |
74 /* Redraw the sign of a waypoint */ |