summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2012-08-13 18:52:47 +0000
committeryexo <yexo@openttd.org>2012-08-13 18:52:47 +0000
commit51921552536d2fbc56c8cdaf682da038e26a168c (patch)
tree446910fbfe067f164f846acd80df7698e9a1369f /src/ai
parent483d878d5fbe549b2e8196c8e8176ad560734343 (diff)
downloadopenttd-51921552536d2fbc56c8cdaf682da038e26a168c.tar.xz
(svn r24467) -Codechange [FS#5236]: make textfile window class slightly more general (LordAro)
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_gui.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp
index f0cdf8d3d..3f75f7d90 100644
--- a/src/ai/ai_gui.cpp
+++ b/src/ai/ai_gui.cpp
@@ -646,8 +646,6 @@ struct ScriptTextfileWindow : public TextfileWindow {
ScriptTextfileWindow(TextfileType file_type, CompanyID slot) : TextfileWindow(file_type), slot(slot)
{
- this->GetWidget<NWidgetCore>(WID_TF_CAPTION)->SetDataTip(STR_TEXTFILE_README_CAPTION + file_type, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS);
-
const char *textfile = GetConfig(slot)->GetTextfile(file_type, slot);
this->LoadTextfile(textfile, (slot == OWNER_DEITY) ? GAME_DIR : AI_DIR);
}