1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-28 08:59:09 +00:00

Fix: GenerateCompanyName sends incorrect renaming event (#13794)

This commit is contained in:
Björn Wärmedal
2025-03-13 09:24:35 +01:00
committed by GitHub
parent 70c2a666bc
commit dc343ca141

View File

@@ -431,6 +431,7 @@ bad_town_name:;
if (c->president_name_1 == SPECSTR_PRESIDENT_NAME) {
str = SPECSTR_ANDCO_NAME;
strp = c->president_name_2;
name = GetString(str, strp);
goto set_name;
} else {
str = SPECSTR_ANDCO_NAME;