Codechange: Use EnumBitSet for IndustryLifeTypes.

This commit is contained in:
Peter Nelson
2025-02-06 20:08:51 +00:00
committed by Peter Nelson
parent 2bb3f368e3
commit 1916454776
5 changed files with 47 additions and 45 deletions

View File

@@ -3759,7 +3759,7 @@ static ChangeInfoResult IndustriesChangeInfo(uint first, uint last, int prop, By
}
case 0x0B: // Industry production flags
indsp->life_type = (IndustryLifeType)buf.ReadByte();
indsp->life_type = IndustryLifeTypes{buf.ReadByte()};
break;
case 0x0C: // Industry closure message