(svn r16761) -Codechange: make UpdateViewportSignPos(ition) a class function of ViewportSign

This commit is contained in:
rubidium
2009-07-07 16:51:20 +00:00
parent 52abc92d1f
commit 4989b4afb9
7 changed files with 19 additions and 15 deletions

View File

@@ -32,7 +32,7 @@ void UpdateWaypointSign(Waypoint *wp)
{
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);
wp->sign.UpdatePosition(pt.x, pt.y - 0x20, STR_WAYPOINT_VIEWPORT);
}
/**