Codechange: strongly type CompanyID

This commit is contained in:
Rubidium
2025-02-10 18:08:53 +01:00
committed by rubidium42
parent 5401ab1f7b
commit ab8177ea77
37 changed files with 92 additions and 97 deletions

View File

@@ -162,7 +162,7 @@ struct AIPLChunkHandler : ChunkHandler {
for (CompanyID i = COMPANY_FIRST; i < MAX_COMPANIES; ++i) {
SlSetArrayIndex(i);
SlAutolength(SaveReal_AIPL, i);
SlAutolength(SaveReal_AIPL, i.base());
}
}
};