Cache viewport station/waypoint sign infomation

This commit is contained in:
Jonathan G Rennison
2019-01-21 20:02:49 +00:00
parent 191afd93c1
commit 698409381e
7 changed files with 69 additions and 5 deletions

View File

@@ -425,6 +425,7 @@ void Station::UpdateVirtCoord()
this->sign.UpdatePosition(pt.x, pt.y, STR_VIEWPORT_STATION);
SetWindowDirty(WC_STATION_VIEW, this->index);
ViewportClearStationSignCache();
}
/** Update the virtual coords needed to draw the station sign for all stations. */