summaryrefslogtreecommitdiff
path: root/src/smallmap_gui.cpp
diff options
context:
space:
mode:
authorfonsinchen <fonsinchen@openttd.org>2014-01-19 09:26:17 +0000
committerfonsinchen <fonsinchen@openttd.org>2014-01-19 09:26:17 +0000
commitbe62387e4412e15fe7238a1c90979fe119c0fdcf (patch)
treedd74496db4fc31309a622c54c3a409e7c5cc1a7f /src/smallmap_gui.cpp
parentf373f8a9c21d17b89fe69ddf13a1ae36171a2468 (diff)
downloadopenttd-be62387e4412e15fe7238a1c90979fe119c0fdcf.tar.xz
(svn r26265) -Fix: Don't rebuild the link graph overlay cache twice in a row
Diffstat (limited to 'src/smallmap_gui.cpp')
-rw-r--r--src/smallmap_gui.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp
index 9e91dc632..e144ddb0c 100644
--- a/src/smallmap_gui.cpp
+++ b/src/smallmap_gui.cpp
@@ -1309,7 +1309,6 @@ void SmallMapWindow::SetOverlayCargoMask()
if (_legend_linkstats[i].show_on_map) SetBit(cargo_mask, _legend_linkstats[i].type);
}
this->overlay->SetCargoMask(cargo_mask);
- this->overlay->RebuildCache();
}
/**