update to 1.6.1

--HG--
branch : openttd
This commit is contained in:
Pavel Stupnikov
2016-07-01 01:42:17 +03:00
parent b42123c570
commit ecdb1590ab
86 changed files with 5892 additions and 533 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: depot_gui.cpp 27450 2015-11-20 09:25:27Z alberth $ */
/* $Id: depot_gui.cpp 27592 2016-05-29 19:08:01Z frosch $ */
/*
* This file is part of OpenTTD.
@@ -663,7 +663,8 @@ struct DepotWindow : Window {
DepotSortList(&this->vehicle_list);
uint new_unitnumber_digits = GetUnitNumberDigits(this->vehicle_list);
if (this->unitnumber_digits != new_unitnumber_digits) {
/* Only increase the size; do not decrease to prevent constant changes */
if (this->unitnumber_digits < new_unitnumber_digits) {
this->unitnumber_digits = new_unitnumber_digits;
this->ReInit();
}