Codechange: Use EnumBitSet for IndustryLifeTypes.
This commit is contained in:
committed by
Peter Nelson
parent
2bb3f368e3
commit
1916454776
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user