summaryrefslogtreecommitdiff
path: root/src/console_cmds.cpp
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/console_cmds.cpp
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/console_cmds.cpp')
-rw-r--r--src/console_cmds.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp
index 33ec4784e..98871010d 100644
--- a/src/console_cmds.cpp
+++ b/src/console_cmds.cpp
@@ -1269,7 +1269,7 @@ DEF_CONSOLE_CMD(ConRescanNewGRF)
TarScanner::DoScan();
ScanNewGRFFiles();
- InvalidateWindowData(WC_GAME_OPTIONS, 0, 1);
+ InvalidateWindowData(WC_GAME_OPTIONS, 0, GOID_NEWGRF_RESCANNED);
return true;
}