summaryrefslogtreecommitdiff
path: root/src/console_cmds.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-08-24 16:38:09 +0000
committerrubidium <rubidium@openttd.org>2011-08-24 16:38:09 +0000
commitf5dd74499bac7fc9a2cbc5abdc6527536fe303a1 (patch)
treef0c88597fcaebeaf4502025359bf0f47600318a0 /src/console_cmds.cpp
parent49d8852f3f016f385ee3fabc5b5a714c70b5b2c8 (diff)
downloadopenttd-f5dd74499bac7fc9a2cbc5abdc6527536fe303a1.tar.xz
(svn r22829) -Codechange: unify the dirtying of windows after an AI scan
Diffstat (limited to 'src/console_cmds.cpp')
-rw-r--r--src/console_cmds.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp
index b5f8d2e47..d632d0280 100644
--- a/src/console_cmds.cpp
+++ b/src/console_cmds.cpp
@@ -1253,8 +1253,6 @@ DEF_CONSOLE_CMD(ConRescanAI)
TarScanner::DoScan();
AI::Rescan();
- InvalidateWindowData(WC_AI_LIST, 0, 1);
- SetWindowDirty(WC_AI_SETTINGS, 0);
return true;
}