(svn r20415) -Add: Clicking at the smallmap disables updates from the industry chain window.

This commit is contained in:
alberth
2010-08-08 11:21:24 +00:00
parent 15f407acea
commit 9b10773428
2 changed files with 15 additions and 2 deletions

View File

@@ -1154,6 +1154,9 @@ public:
virtual void OnClick(Point pt, int widget, int click_count)
{
/* User clicked something, notify the industry chain window to stop sending newly selected industries. */
InvalidateWindowClassesData(WC_INDUSTRY_CARGOES, NUM_INDUSTRYTYPES);
switch (widget) {
case SM_WIDGET_MAP: { // Map window
/*