Update to 1.8.0

--HG--
branch : openttd
This commit is contained in:
Pavel Stupnikov
2018-04-06 21:26:22 +03:00
parent c13f57641c
commit 42ec3bd611
221 changed files with 2325 additions and 1788 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: town_gui.cpp 27577 2016-05-22 10:52:02Z frosch $ */
/* $Id: town_gui.cpp 27893 2017-08-13 18:38:42Z frosch $ */
/*
* This file is part of OpenTTD.
@@ -267,9 +267,10 @@ public:
this->sel_index = y;
this->SetDirty();
}
/* FALL THROUGH, when double-clicking. */
/* When double-clicking, continue */
if (click_count == 1 || y < 0) break;
}
FALLTHROUGH;
case WID_TA_EXECUTE:
DoCommandP(this->town->xy, this->window_number, this->sel_index, CMD_DO_TOWN_ACTION | CMD_MSG(STR_ERROR_CAN_T_DO_THIS));