Fix tunnels underground view merge issue with custom bridgeheads.

pull/11/head
Jonathan G Rennison 7 years ago
parent 072915f2c7
commit 2533210fc9

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

Loading…
Cancel
Save