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

@@ -44,6 +44,7 @@ void Waypoint::UpdateVirtCoord()
this->sign.UpdatePosition(pt.x, pt.y - 32 * ZOOM_LVL_BASE, STR_VIEWPORT_WAYPOINT);
/* Recenter viewport */
InvalidateWindowData(WC_WAYPOINT_VIEW, this->index);
ViewportClearStationSignCache();
}
/**