mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 03:56:43 +00:00
Codechange: replace MAX_UVALUE with std::numeric_limits::max
This commit is contained in:
@@ -109,7 +109,7 @@ struct ENGNChunkHandler : ChunkHandler {
|
||||
* Just cancel any previews. */
|
||||
e->flags.Reset(EngineFlag{4}); // ENGINE_OFFER_WINDOW_OPEN
|
||||
e->preview_company = INVALID_COMPANY;
|
||||
e->preview_asked = MAX_UVALUE(CompanyMask);
|
||||
e->preview_asked = std::numeric_limits<CompanyMask>::max();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user