Codechange: Remove old group liveries savegame conversion.

Conversion to set default group livery is in the wrong place (not in `AfterLoadGame()`), however it is not necessary any more as `AfterLoadGame()` always calls the function `UpdateCompanyLiveries()` which will do the same thing.
This commit is contained in:
Peter Nelson 2024-04-19 19:02:53 +01:00
parent 6ee31a2a22
commit 6eeb881c08
No known key found for this signature in database
GPG Key ID: 8EF8F0A467DF75ED
1 changed files with 0 additions and 6 deletions

View File

@ -53,12 +53,6 @@ struct GRPSChunkHandler : ChunkHandler {
SlObject(g, slt);
if (IsSavegameVersionBefore(SLV_189)) g->parent = INVALID_GROUP;
if (IsSavegameVersionBefore(SLV_GROUP_LIVERIES)) {
const Company *c = Company::Get(g->owner);
g->livery.colour1 = c->livery[LS_DEFAULT].colour1;
g->livery.colour2 = c->livery[LS_DEFAULT].colour2;
}
}
}
};