mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-10-31 15:20:10 +00:00
(svn r20894) -Fix [FS#4148] (r20772): use correct company name for group window title (sbr)
This commit is contained in:
parent
4f9f90f234
commit
2e8e148262
@ -280,7 +280,7 @@ public:
|
|||||||
* We list all vehicles or ungrouped vehicles */
|
* We list all vehicles or ungrouped vehicles */
|
||||||
if (IsDefaultGroupID(this->vli.index) || IsAllGroupID(this->vli.index)) {
|
if (IsDefaultGroupID(this->vli.index) || IsAllGroupID(this->vli.index)) {
|
||||||
SetDParam(0, STR_COMPANY_NAME);
|
SetDParam(0, STR_COMPANY_NAME);
|
||||||
SetDParam(1, GB(this->window_number, 0, 8));
|
SetDParam(1, this->vli.company);
|
||||||
SetDParam(2, this->vehicles.Length());
|
SetDParam(2, this->vehicles.Length());
|
||||||
SetDParam(3, this->vehicles.Length());
|
SetDParam(3, this->vehicles.Length());
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user