(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

@@ -42,7 +42,7 @@ void UpdateSignVirtCoords(Sign *si)
{
Point pt = RemapCoords(si->x, si->y, si->z);
SetDParam(0, si->index);
UpdateViewportSignPos(&si->sign, pt.x, pt.y - 6, STR_SIGN_WHITE);
si->sign.UpdatePosition(pt.x, pt.y - 6, STR_SIGN_WHITE);
}
/** Update the coordinates of all signs */