summaryrefslogtreecommitdiff
path: root/src/console_cmds.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-11-18 22:24:10 +0000
committerrubidium <rubidium@openttd.org>2010-11-18 22:24:10 +0000
commitc7f0518f162645e4bccdea64387b8fe63009af2a (patch)
treed95fd7120f3cd3bda657b829996adbe0f8ca561b /src/console_cmds.cpp
parent94c45d9cc34afca7b66e1cf4595bff816123b055 (diff)
downloadopenttd-c7f0518f162645e4bccdea64387b8fe63009af2a.tar.xz
(svn r21246) -Fix: upon rescanning AIs the new AIs would (after some time) show up in the AI list but you could not select all
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 89680fde5..f29e315e0 100644
--- a/src/console_cmds.cpp
+++ b/src/console_cmds.cpp
@@ -1158,6 +1158,7 @@ DEF_CONSOLE_CMD(ConRescanAI)
}
AI::Rescan();
+ InvalidateWindowData(WC_AI_LIST, 0, 1);
return true;
}