In the Utilities files, I get an error on the motd.cs file.
CS0019: Line 481: Operator '&' cannot be applied to operands of type 'Server.ClientFlags' and 'int'

The offending line
C#:
AddLabel(205, 180, NewsGump.kDataColor, ((state.Flags & 0x10) != 0) ? "Samurai Empire" : (( state.Flags & 0x08 ) != 0) ? "Age of Shadows" : (( state.Flags & 0x04 ) != 0) ? "Blackthorn's Revenge" : (( state.Flags & 0x02 ) != 0 ) ? "Third Dawn" : (( state.Flags & 0x01 ) != 0 ) ? "Renaissance" : "The Second Age" );

Everything runs if I comment this out. Will this break something? Or is there another fix?
 
Back