Update to 1.8.0
--HG-- branch : openttd
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user