Codefix: Company name is a StringID. (#13224)

StringID was passed to Company's constructor as a uint16_t.
This commit is contained in:
Peter Nelson
2025-01-01 20:16:59 +00:00
committed by GitHub
parent 31fd71e1ac
commit e9e603b4fd
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1025,7 +1025,7 @@ static bool LoadOldCompany(LoadgameState *ls, int num)
if (num == 0) {
/* If the first company has no name, make sure we call it UNNAMED */
if (c->name_1 == 0) {
if (c->name_1 == STR_NULL) {
c->name_1 = STR_SV_UNNAMED;
}
} else {