Codechange: Be consistent with how company masks are set to all.

This commit is contained in:
Peter Nelson
2023-04-05 07:49:41 +01:00
committed by PeterN
parent 08977828cc
commit 65e0b0dcb7
5 changed files with 12 additions and 12 deletions

View File

@@ -110,7 +110,7 @@ struct ENGNChunkHandler : ChunkHandler {
* Just cancel any previews. */
e->flags &= ~4; // ENGINE_OFFER_WINDOW_OPEN
e->preview_company = INVALID_COMPANY;
e->preview_asked = (CompanyMask)-1;
e->preview_asked = MAX_UVALUE(CompanyMask);
}
}
}