1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-16 17:02:37 +01:00

(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 fbb2fb9720
commit 3086383cdc
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. */