summaryrefslogtreecommitdiff
path: root/src/console_cmds.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-11-18 23:31:06 +0000
committerrubidium <rubidium@openttd.org>2010-11-18 23:31:06 +0000
commit924a924907c608cb168fdf3265f6e6f2e883fcf6 (patch)
tree443a0351c39c12094063f0cf0de9966122bc7cce /src/console_cmds.cpp
parent40258d927fecaf3c2e6683718ae7dfa6c0443212 (diff)
downloadopenttd-924a924907c608cb168fdf3265f6e6f2e883fcf6.tar.xz
(svn r21250) -Fix [FS#3952]: Rescanning AIs didn't "forget" removed AIs
Diffstat (limited to 'src/console_cmds.cpp')
-rw-r--r--src/console_cmds.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp
index 56cc88edf..8f4cf50b9 100644
--- a/src/console_cmds.cpp
+++ b/src/console_cmds.cpp
@@ -1160,6 +1160,7 @@ DEF_CONSOLE_CMD(ConRescanAI)
TarScanner::DoScan();
AI::Rescan();
InvalidateWindowData(WC_AI_LIST, 0, 1);
+ SetWindowDirty(WC_AI_SETTINGS, 0);
return true;
}