(svn r26265) -Fix: Don't rebuild the link graph overlay cache twice in a row
This commit is contained in:
@@ -1309,7 +1309,6 @@ void SmallMapWindow::SetOverlayCargoMask()
|
|||||||
if (_legend_linkstats[i].show_on_map) SetBit(cargo_mask, _legend_linkstats[i].type);
|
if (_legend_linkstats[i].show_on_map) SetBit(cargo_mask, _legend_linkstats[i].type);
|
||||||
}
|
}
|
||||||
this->overlay->SetCargoMask(cargo_mask);
|
this->overlay->SetCargoMask(cargo_mask);
|
||||||
this->overlay->RebuildCache();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user