diff options
author | yexo <yexo@openttd.org> | 2011-11-12 18:48:21 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2011-11-12 18:48:21 +0000 |
commit | 924a5e06b354b573412201e58bc95b39aabf2183 (patch) | |
tree | 05754ac894120c2c19e8286adf10808506454501 /src/ai/ai_gui.cpp | |
parent | e963ff9cf96dc7fdab38ff1868aba1ab79d4fdce (diff) | |
download | openttd-924a5e06b354b573412201e58bc95b39aabf2183.tar.xz |
(svn r23201) -Doc: [NoAI] Hide all contents of AIObject from the API documentation as AIs were never able to use it anyway
Diffstat (limited to 'src/ai/ai_gui.cpp')
-rw-r--r-- | src/ai/ai_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp index 6e51eea1d..96c5bb0ed 100644 --- a/src/ai/ai_gui.cpp +++ b/src/ai/ai_gui.cpp @@ -294,7 +294,7 @@ struct AISettingsWindow : public Window { this->SetWidgetDisabledState(AIS_WIDGET_RESET, _game_mode != GM_MENU && Company::IsValidID(this->slot)); - this->vscroll->SetCount(this->visible_settings.size()); + this->vscroll->SetCount((int)this->visible_settings.size()); } /** |