(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

@@ -380,7 +380,7 @@ void Station::UpdateVirtCoord()
SetDParam(0, this->index);
SetDParam(1, this->facilities);
UpdateViewportSignPos(&this->sign, pt.x, pt.y, STR_STATION_SIGN);
this->sign.UpdatePosition(pt.x, pt.y, STR_STATION_SIGN);
}
/** Update the virtual coords needed to draw the station sign for all stations. */