@@ -927,6 +927,8 @@ public:
if (this->viewport != NULL) {
NWidgetViewport *nvp = this->GetWidget<NWidgetViewport>(IVW_VIEWPORT);
nvp->UpdateViewportCoordinates(this);
ScrollWindowToTile(Industry::Get(this->window_number)->location.GetCenterTile(), this, true); // Re-center viewport.
}
@@ -127,6 +127,8 @@ public:
NWidgetViewport *nvp = this->GetWidget<NWidgetViewport>(WAYPVW_VIEWPORT);
this->wp->UpdateVirtCoord();
ScrollWindowToTile(this->GetCenterTile(), this, true); // Re-center viewport.
Status change: