(svn r26265) -Fix: Don't rebuild the link graph overlay cache twice in a row

This commit is contained in:
fonsinchen 2014-01-19 09:26:17 +00:00
parent d9832f0dc3
commit b4a889fcb4

View File

@ -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();
} }
/** /**