summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-07-02 12:49:44 +0000
committerfrosch <frosch@openttd.org>2011-07-02 12:49:44 +0000
commit1688470eb9b511990089eab1eec9f0ba3104d4c5 (patch)
tree6dc4dd8533157db6feb482607001c14be3dd733c /src/network
parent56a41a8852c6bad2119100d0758ca297e61c80c1 (diff)
downloadopenttd-1688470eb9b511990089eab1eec9f0ba3104d4c5.tar.xz
(svn r22617) -Codechange: Add GameOptionsInvalidationData enum for data values for Window::OnInvalidateData() of windows with class WC_GAME_OPTIONS.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_content_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp
index b27f46083..50bb8cd14 100644
--- a/src/network/network_content_gui.cpp
+++ b/src/network/network_content_gui.cpp
@@ -117,7 +117,7 @@ public:
ScanNewGRFFiles();
/* Yes... these are the NewGRF windows */
InvalidateWindowClassesData(WC_SAVELOAD);
- InvalidateWindowData(WC_GAME_OPTIONS, 0, 1);
+ InvalidateWindowData(WC_GAME_OPTIONS, 0, GOID_NEWGRF_RESCANNED);
break;
case CONTENT_TYPE_SCENARIO: