Fix tunnels underground view merge issue with custom bridgeheads.

This commit is contained in:
Jonathan G Rennison
2017-02-06 01:53:06 +00:00
parent 072915f2c7
commit 2533210fc9

View File

@@ -1181,7 +1181,7 @@ bool IndividualRoadVehicleController(RoadVehicle *v, const RoadVehicle *prev)
v->x_pos = gp.x; v->x_pos = gp.x;
v->y_pos = gp.y; v->y_pos = gp.y;
v->UpdatePosition(); v->UpdatePosition();
if ((v->vehstatus & VS_HIDDEN) == 0) v->Vehicle::UpdateViewport(true); if (v->IsDrawn()) v->Vehicle::UpdateViewport(true);
return true; return true;
} }
} }