mirror of https://github.com/OpenTTD/OpenTTD
Fix: GenerateCompanyName sends incorrect renaming event (#13794)
parent
70c2a666bc
commit
dc343ca141
|
@ -431,6 +431,7 @@ bad_town_name:;
|
||||||
if (c->president_name_1 == SPECSTR_PRESIDENT_NAME) {
|
if (c->president_name_1 == SPECSTR_PRESIDENT_NAME) {
|
||||||
str = SPECSTR_ANDCO_NAME;
|
str = SPECSTR_ANDCO_NAME;
|
||||||
strp = c->president_name_2;
|
strp = c->president_name_2;
|
||||||
|
name = GetString(str, strp);
|
||||||
goto set_name;
|
goto set_name;
|
||||||
} else {
|
} else {
|
||||||
str = SPECSTR_ANDCO_NAME;
|
str = SPECSTR_ANDCO_NAME;
|
||||||
|
|
Loading…
Reference in New Issue