Codechange: Use EnumBitSet for IndustryBehaviours.
This commit is contained in:
committed by
Peter Nelson
parent
9d451d6350
commit
2bb3f368e3
@@ -3832,7 +3832,7 @@ static ChangeInfoResult IndustriesChangeInfo(uint first, uint last, int prop, By
|
||||
break;
|
||||
|
||||
case 0x1A: // Special industry flags to define special behavior
|
||||
indsp->behaviour = (IndustryBehaviour)buf.ReadDWord();
|
||||
indsp->behaviour = IndustryBehaviours{buf.ReadDWord()};
|
||||
break;
|
||||
|
||||
case 0x1B: // New industry text ID
|
||||
|
||||
Reference in New Issue
Block a user