Codefix: Company name is a StringID. (#13224)
StringID was passed to Company's constructor as a uint16_t.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user