Fix compilation errors after the merge

This commit is contained in:
dP
2025-06-27 18:03:03 +05:00
parent f0f93c68ca
commit 0fe7c3635c
85 changed files with 1926 additions and 1971 deletions

View File

@@ -2055,7 +2055,7 @@ bool CanBuildIndustryOnTile(IndustryType type, TileIndex tile) {
const IndustrySpec *indspec = GetIndustrySpec(type);
CommandCost ret;
if (HasBit(indspec->callback_mask, CBM_IND_LOCATION)) {
if (indspec->callback_mask.Test(IndustryCallbackMask::Location)) {
ret = CheckIfCallBackAllowsCreation(
tile, type, 0, 0, 0, _current_company,
_current_company == OWNER_DEITY ? IACT_RANDOMCREATION : IACT_USERCREATION);