mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-11 01:49:50 +00:00
(svn r26265) -Fix: Don't rebuild the link graph overlay cache twice in a row
This commit is contained in:
parent
f373f8a9c2
commit
be62387e44
@ -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();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user