mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r26265) -Fix: Don't rebuild the link graph overlay cache twice in a row
This commit is contained in:
parent
d9832f0dc3
commit
b4a889fcb4
@ -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