Codechange: Use correct type for linkgraph company mask.

This commit is contained in:
Peter Nelson
2023-04-07 10:12:29 +01:00
committed by PeterN
parent 65e0b0dcb7
commit 5199881a8d
4 changed files with 9 additions and 9 deletions

View File

@@ -1594,7 +1594,7 @@ int SmallMapWindow::GetPositionOnLegend(Point pt)
if (!this->refresh.Elapsed(delta_ms)) return;
if (this->map_type == SMT_LINKSTATS) {
uint32 company_mask = this->GetOverlayCompanyMask();
CompanyMask company_mask = this->GetOverlayCompanyMask();
if (this->overlay->GetCompanyMask() != company_mask) {
this->overlay->SetCompanyMask(company_mask);
} else {